RazorEngine


Util

Defined in RazorEngine.dll.

Utility Class

Static members

Static memberDescription
FixContext(context)
Signature: context:Type -> Type

Fixes the context.

Returns:

GetTargetContext(...)
Signature: (target:obj * context:byref<Type> * staticContext:byref<bool>) -> obj

Gets the target context.

Returns:

GetValue(info, name)
Signature: (info:SerializationInfo * name:string) -> 'T
Type parameters: 'T

Gets the value. Conveinence Ext method

Returns:

IsAnonymousType(target)
Signature: target:obj -> bool

Determines whether [is anonymous type] [the specified target].

Returns: true if [is anonymous type] [the specified target]; otherwise, false.

NameArgsIfNecessary(callInfo, args)
Signature: (callInfo:CallInfo * args:obj []) -> obj []

Names the args if necessary.

Returns:

Fork me on GitHub