- Home /
Question by
StrongGuy · Feb 08, 2016 at 04:31 PM ·
editorscript.editor-scriptingreflection
Is there a tool to create managed dll wrapper?
As the title says, I'd like to create wrapper for managed dll. (NOT C++) I'm wondering if there is already some tools exists.
Example: I have a class like this (may not have source code)
public class A
{
public void SayHello() { System.Console.Write("Hello"); }
}
and the result should be like this:
public class A
{
public void SayHello() { } // with empty implement
}
This result is like what you see after "go to definition" in MonoDevelop, or in Visual Studio, but plus empty implement.
More requirements:
Type 'A' in example above can be any type from System, System.Text, UnityEngine, etc.
Generated source code should compile successfully.
Thank you for help.
Comment
Could you elaborate on your use case behind that requirement? What do you need this for? $$anonymous$$aybe there is a simpler way of achieving it.