CreateStunt(Assembly, Type, Type[], Object?[]) Method

Definition

Namespace Stunts
Assembly Stunts.dll

Creates the stunt registered for baseType and implementedInterfaces by the generated code for assembly.

public object CreateStunt(Assembly assembly, Type baseType, Type[] implementedInterfaces, object? [] constructorArguments)

Parameters

assembly
Assembly

The assembly requesting the stunt.

baseType
Type

Base type of the stunt.

implementedInterfaces
Type[]

Additional interfaces the stunt implements.

constructorArguments
Object?[]

Optional additional constructor arguments for the stunt.

Returns