Class StaticContext
- Namespace
- Dynamitey
- Assembly
- Dynamitey.Community.dll
Specific version of InvokeContext which declares a type to be used to invoke static methods.
public class StaticContext : InvokeContext
- Inheritance
-
StaticContext
- Inherited Members
Constructors
StaticContext(Type)
Initializes a new instance of the StaticContext class.
public StaticContext(Type target)
Parameters
targetTypeThe target.
Methods
FromType(Type)
Named alternate for the explicit conversion from Type above, for callers in a language that cannot consume operator overloads.
public static StaticContext FromType(Type type)
Parameters
typeTypeThe type.
Returns
- StaticContext
The result of the conversion.
Operators
explicit operator StaticContext(Type)
Performs an explicit conversion from Type to StaticContext.
public static explicit operator StaticContext(Type type)
Parameters
typeTypeThe type.
Returns
- StaticContext
The result of the conversion.