C# Class Dynamitey.InvokeContext

Object that stores a context with a target for dynamic invocation
Exibir arquivo Open project: ekonbenefits/dynamitey Class Usage Examples

Public Properties

Property Type Description
CreateContext Func
CreateStatic InvokeContext>.Func
CreateStaticWithContext Func

Public Methods

Method Description
InvokeContext ( Type target, bool staticContext, object context ) : System

Initializes a new instance of the InvokeContext class.

InvokeContext ( object target, object context ) : System

Initializes a new instance of the InvokeContext class.

Method Details

InvokeContext() public method

Initializes a new instance of the InvokeContext class.
public InvokeContext ( Type target, bool staticContext, object context ) : System
target System.Type The target.
staticContext bool if set to true [static context].
context object The context.
return System

InvokeContext() public method

Initializes a new instance of the InvokeContext class.
public InvokeContext ( object target, object context ) : System
target object The target.
context object The context.
return System

Property Details

CreateContext public_oe static_oe property

Create Function can set to variable to make cleaner syntax;
public static Func CreateContext
return Func

CreateStatic public_oe static_oe property

Create Function can set to variable to make cleaner syntax;
public static Func CreateStatic
return InvokeContext>.Func

CreateStaticWithContext public_oe static_oe property

Create Function can set to variable to make cleaner syntax;
public static Func CreateStaticWithContext
return Func