Table of Contents

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

type Type

The type.

args Func<object[]>

The args.

Activate(Type, params object[])

Initializes a new instance of the Activate class.

public Activate(Type type, params object[] args)

Parameters

type Type

The type.

args object[]

The args.

Properties

Arguments

Gets or sets the constructor arguments.

public virtual Func<object[]> Arguments { get; }

Property Value

Func<object[]>

The arguments.

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