Class Activate
- Namespace
- Dynamitey
- Assembly
- Dynamitey.Community.dll
Encapsulates an Activator
public class Activate
- Inheritance
-
Activate
- Derived
- Inherited Members
Constructors
Activate(Type, Func<object[]>)
Initializes a new instance of the Activate class. With Factory Function
public Activate(Type type, Func<object[]> args)
Parameters
Activate(Type, params object[])
Initializes a new instance of the Activate class.
public Activate(Type type, params object[] args)
Parameters
Properties
Arguments
Gets or sets the constructor arguments.
public virtual Func<object[]> Arguments { get; }
Property Value
Type
Gets or sets the constructor type.
public virtual Type Type { get; }
Property Value
- Type
The type.
Methods
Create()
Creates this instance.
[RequiresUnreferencedCode("Calls the annotated Dynamic.InvokeConstructor.")]
[RequiresDynamicCode("Dynamic.InvokeConstructor requires the DLR's runtime code generation; not supported when AOT-compiled.")]
public virtual dynamic Create()
Returns
- dynamic