Activator is a .NET class that can create dynamically-typed object instances at runtime.
In C# I have the following object: public class Item { } public class Task<T> { } public class TaskA<…
c# generics reflection activatorI asked a question yesterday regarding using either reflection or Strategy Pattern for dynamically calling methods. However, since then I …
c# reflection activatorI have a class which has the following constructor public DelayCompositeDesigner(DelayComposite CompositeObject) { InitializeComponent(); compositeObject = CompositeObject; } along with a default …
c# .net activator missingmethodexceptionI have a generic type Store<T> and use Activator to make an instance of this type. Now …
c# generics reflection activatorIn my reflection code i hit a problem with my generic section of code. Specifically when i use a string. …
c# .net reflection activatorI'm trying to improve the performance of our application. We have a lot of Activator.CreateInstance calls that are causing …
c# reflection reflection.emit activator createinstanceI have a class (TabControlH60) that both inherits from a base class (UserControl) and implements an interface (IFrameworkClient). I instantiate …
c# interface casting base-class activatorI have an example: Assembly asm = Assembly.Load("ClassLibrary1"); Type ob = asm.GetType("ClassLibrary1.UserControl1"); UserControl uc = (UserControl)Activator.CreateInstance(…
c# .net reflection .net-assembly activatorI'm using the Activator to instantiate a new class based on the short name of an assembly (e.a. 'CustomModule'). …
c# reflection assemblies c#-2.0 activatorI have a factory that is supposed to create objects that inherit from class Foo at run-time. I would think …
c# class instantiation activator