ActLikeCaster
Defined in RazorEngine.dll.
Extends the ImpromptuForwarder class to allow implicit and explicit conversions to any interface type.
Constructors
Constructor | Description |
new(target, types)
Signature: (target:obj * types:IEnumerable<Type>) -> unit
|
Initializes a new instance of the ActLikeCaster type. |
new(info, context)
Signature: (info:SerializationInfo * context:StreamingContext) -> unit
|
Initializes a new instance of the ActLikeCaster type. |
Instance members
Instance member | Description |
TryConvert(binder, result)
Signature: (binder:ConvertBinder * result:byref<obj>) -> bool
Modifiers: abstract |
handles any conversion call. Returns: true if successful. |