Impromptu
Defined in RazorEngine.dll.
Main API
Static members
Static member | Description |
ActLike(...)
Signature: (originalDynamic:obj * otherInterfaces:Type []) -> 'TInterface
Type parameters: 'TInterface |
|
ActLike(...)
Signature: (originalDynamic:obj * otherInterfaces:Type []) -> obj
|
|
ActLikeProperties(...)
Signature: (originalDynamic:obj * propertySpec:IDictionary<string,Type>) -> obj
|
|
AllActLike(...)
Signature: (originalDynamic:IEnumerable<obj> * otherInterfaces:Type []) -> IEnumerable<'TInterface>
Type parameters: 'TInterface |
|
AllCallActLike(...)
Signature: (originalDynamic:IEnumerable<obj> * caller:obj * otherInterfaces:Type []) -> IEnumerable<'TInterface>
Type parameters: 'TInterface |
|
CallActLike(...)
Signature: (caller:obj * originalDynamic:obj * otherInterfaces:Type []) -> 'TInterface
Type parameters: 'TInterface |
|
CallDynamicActLike(...)
Signature: (caller:obj * originalDynamic:obj * otherInterfaces:Type []) -> obj
|
|
CoerceToDelegate(...)
Signature: (invokeableObject:obj * delegateType:Type) -> obj
|
Coerce to delegate. |
CreateCallSite(...)
Signature: (delegateType:Type * binder:CallSiteBinder * name:String_OR_InvokeMemberName * context:Type * argNames:string [] * staticContext:bool * isEvent:bool) -> CallSite
|
|
CreateCallSite(...)
Signature: (binder:CallSiteBinder * name:String_OR_InvokeMemberName * context:Type * argNames:string [] * staticContext:bool * isEvent:bool) -> CallSite<'T>
Type parameters: 'T |
|
DynamicActLike(...)
Signature: (originalDynamic:obj * otherInterfaces:Type []) -> obj
|
|
FastDynamicInvoke(del, args)
Signature: (del:Delegate * args:obj []) -> obj
|
|
GenericDelegateType(...)
Signature: (paramCount:int * returnVoid:bool) -> Type
|
Given a generic parameter count and whether it returns void or not gives type of Action or Func |
GetMemberNames(target, dynamicOnly)
Signature: (target:obj * dynamicOnly:bool) -> IEnumerable<string>
|
Gets the member names of properties. Not all IDynamicMetaObjectProvider have support for this. |
Invoke(target, args)
Signature: (target:obj * args:obj []) -> obj
|
|
Invoke(callSite, target, args)
Signature: (callSite:CallSite * target:obj * args:obj []) -> obj
|
|
InvokeAction(target, args)
Signature: (target:obj * args:obj []) -> unit
|
|
InvokeAddAssign(target, name, value)
Signature: (target:obj * name:string * value:obj) -> unit
|
Invokes add assign with correct behavior for events. |
InvokeAddAssignMember(...)
Signature: (target:obj * name:string * value:obj) -> unit
|
Invokes add assign with correct behavior for events. |
InvokeBinaryOperator(...)
Signature: (leftArg:obj * op:ExpressionType * rightArg:obj) -> obj
|
Invokes the binary operator. |
InvokeCallSite(callSite, target, args)
Signature: (callSite:CallSite * target:obj * args:obj []) -> obj
|
|
InvokeConstructor(type, args)
Signature: (type:Type * args:obj []) -> obj
|
|
InvokeConstuctor(type, args)
Signature: (type:Type * args:obj []) -> obj
|
|
InvokeConvert(target, type, explicit)
Signature: (target:obj * type:Type * explicit:bool) -> obj
|
Invokes convert using the DLR. |
InvokeGet(target, name)
Signature: (target:obj * name:string) -> obj
|
Dynamically Invokes a get member using the DLR. |
InvokeGetIndex(target, indexes)
Signature: (target:obj * indexes:obj []) -> obj
|
|
InvokeIsEvent(target, name)
Signature: (target:obj * name:string) -> bool
|
Determines whether the specified name on target is event. This allows you to know whether to InvokeMemberAction add_{name} or a combo of {invokeget, +=, invokeset} and the corresponding remove_{name} or a combon of {invokeget, -=, invokeset} |
InvokeMember(target, name, args)
Signature: (target:obj * name:String_OR_InvokeMemberName * args:obj []) -> obj
|
|
InvokeMemberAction(target, name, args)
Signature: (target:obj * name:String_OR_InvokeMemberName * args:obj []) -> unit
|
|
InvokeSet(target, name, value)
Signature: (target:obj * name:string * value:obj) -> obj
|
Dynamically Invokes a set member using the DLR. |
InvokeSetIndex(target, indexesThenValue)
Signature: (target:obj * indexesThenValue:obj []) -> obj
|
|
InvokeSetValueOnIndexes(...)
Signature: (target:obj * value:obj * indexes:obj []) -> obj
|
|
InvokeSubtractAssign(...)
Signature: (target:obj * name:string * value:obj) -> unit
|
Invokes subtract assign with correct behavior for events. |
InvokeSubtractAssignMember(...)
Signature: (target:obj * name:string * value:obj) -> unit
|
Invokes subtract assign with correct behavior for events. |
InvokeUnaryOpartor(op, arg)
Signature: (op:ExpressionType * arg:obj) -> obj
|
Invokes the unary opartor. |
UndoActLike(proxiedObject)
Signature: proxiedObject:obj -> obj
|
Unwraps the act like proxy (if wrapped). |