Say I have a base class in Assembly A:
public class MyBaseClass{
public static Assembly GetMyAssembly(){
}
}
Then I subclass this class in assembly B:
public class MySubClass : MyBaseClass {
}
From there, in my specific logic of my domain, I call MySubClass.GetMyAssembly (). This logic can be in the same assembly as MySubClass, or it can be in a separate assembly. How to define an assembly containing a subclass that calls an inherited method? (without overriding) I tried to use various Assembly.Get * () methods in System.Reflection without any luck.
source
share