RazorEngine


ActLikeCaster

Defined in RazorEngine.dll.

Extends the ImpromptuForwarder class to allow implicit and explicit conversions to any interface type.

Constructors

ConstructorDescription
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 memberDescription
TryConvert(binder, result)
Signature: (binder:ConvertBinder * result:byref<obj>) -> bool
Modifiers: abstract

handles any conversion call.

Returns: true if successful.

Fork me on GitHub