Class BinderUtil
Assembly: RCaron.dll
View Source
Declarationcsharp
public static class BinderUtil
Declarationcsharp
public static class BinderUtil
Methods
EnsureIsType(Expression, Type)
View Source
Declarationcsharp
public static Expression EnsureIsType(this Expression exp, Type type)
Declarationcsharp
public static Expression EnsureIsType(this Expression exp, Type type)
Returns
System.Linq.Expressions.Expression
Parameters
Type | Name |
---|---|
System.Linq.Expressions.Expression | exp |
System.Type | type |
GetValidOnceRestriction()
View Source
Declarationcsharp
public static BindingRestrictions GetValidOnceRestriction()
Declarationcsharp
public static BindingRestrictions GetValidOnceRestriction()
Returns
System.Dynamic.BindingRestrictions
SameTypeRCaronTypeRestrictions(DynamicMetaObject, RCaronType)
View Source
Declarationcsharp
public static BindingRestrictions SameTypeRCaronTypeRestrictions(DynamicMetaObject target, RCaronType rCaronType)
Declarationcsharp
public static BindingRestrictions SameTypeRCaronTypeRestrictions(DynamicMetaObject target, RCaronType rCaronType)
Returns
System.Dynamic.BindingRestrictions
Parameters
Type | Name |
---|---|
System.Dynamic.DynamicMetaObject | target |
RCaron.RCaronType | rCaronType |
GetBinaryOperationBinder(OperationEnum)
View Source
Declarationcsharp
public static CallSiteBinder GetBinaryOperationBinder(OperationEnum operation)
Declarationcsharp
public static CallSiteBinder GetBinaryOperationBinder(OperationEnum operation)
Returns
System.Runtime.CompilerServices.CallSiteBinder
Parameters
Type | Name |
---|---|
RCaron.OperationEnum | operation |
GetBinaryOperationCallSite(OperationEnum)
View Source
Declarationcsharp
public static CallSite<Func<CallSite, object, object, object>> GetBinaryOperationCallSite(OperationEnum operation)
Declarationcsharp
public static CallSite<Func<CallSite, object, object, object>> GetBinaryOperationCallSite(OperationEnum operation)
Returns
System.Runtime.CompilerServices.CallSite<System.Func<System.Runtime.CompilerServices.CallSite,System.Object,System.Object,System.Object>>
Parameters
Type | Name |
---|---|
RCaron.OperationEnum | operation |
GetComparisonOperationBinder(OperationEnum)
View Source
Declarationcsharp
public static CallSiteBinder GetComparisonOperationBinder(OperationEnum operation)
Declarationcsharp
public static CallSiteBinder GetComparisonOperationBinder(OperationEnum operation)
Returns
System.Runtime.CompilerServices.CallSiteBinder
Parameters
Type | Name |
---|---|
RCaron.OperationEnum | operation |
GetComparisonOperationCallSite(OperationEnum)
View Source
Declarationcsharp
public static CallSite<Func<CallSite, object?, object?, object>> GetComparisonOperationCallSite(OperationEnum operation)
Declarationcsharp
public static CallSite<Func<CallSite, object?, object?, object>> GetComparisonOperationCallSite(OperationEnum operation)
Returns
System.Runtime.CompilerServices.CallSite<System.Func<System.Runtime.CompilerServices.CallSite,System.Object,System.Object,System.Object>>
Parameters
Type | Name |
---|---|
RCaron.OperationEnum | operation |