Table of Contents

Class Activate<TObjectPrototype>

Namespace
Dynamitey
Assembly
Dynamitey.Community.dll

Encapsulates an Activator

public class Activate<TObjectPrototype> : Activate

Type Parameters

TObjectPrototype

The type of the object prototype.

Inheritance
Activate<TObjectPrototype>
Inherited Members

Constructors

Activate(Func<object[]>)

Initializes a new instance of the Activate<TObjectPrototype> class. With Factory Function

public Activate(Func<object[]> args)

Parameters

args Func<object[]>

The args.

Activate(params object[])

Initializes a new instance of the Activate<TObjectPrototype> class.

public Activate(params object[] args)

Parameters

args object[]

The args.

Methods

Create()

Creates this instance.

[RequiresUnreferencedCode("Calls Activator.CreateInstance<TObjectPrototype>(), which requires TObjectPrototype to have a public parameterless constructor for trim analysis, and falls back to the annotated Dynamic.InvokeConstructor.")]
[RequiresDynamicCode("The Dynamic.InvokeConstructor fallback requires the DLR's runtime code generation; not supported when AOT-compiled.")]
public override dynamic Create()

Returns

dynamic