Свойство | Type | Description | |
---|---|---|---|
BindingRestrictions | System | ||
GetExpression | Expression | ||
GetTypeRestriction |
Méthode | Description | |
---|---|---|
Combine ( IList |
Combines binding restrictions from the list of DynamicMetaObject instances into one set of restrictions.
|
|
GetExpressionRestriction ( Expression expression ) : |
Creates the binding restriction that checks the expression for arbitrary immutable properties. By convention, the general restrictions created by this method must only test immutable object properties. |
|
GetInstanceRestriction ( Expression expression, object instance ) : |
Creates the binding restriction that checks the expression for object instance identity.
|
|
GetTypeRestriction ( Expression expression, |
Creates the binding restriction that check the expression for runtime type identity.
|
|
Merge ( |
Merges the set of binding restrictions with the current binding restrictions.
|
|
ToExpression ( ) : Expression |
Creates the Expression representing the binding restrictions.
|
Méthode | Description | |
---|---|---|
BindingRestrictions ( ) : System | ||
GetExpression ( ) : Expression | ||
GetTypeRestriction ( Microsoft.Scripting.DynamicMetaObject obj ) : |
The method takes a DynamicMetaObject, and returns an instance restriction for testing null if the object holds a null value, otherwise returns a type restriction.
|
public static Combine ( IList |
||
contributingObjects | IList |
The list of |
Résultat |
public static GetExpressionRestriction ( Expression expression ) : |
||
expression | Expression | The expression expression the restrictions. |
Résultat |
public static GetInstanceRestriction ( Expression expression, object instance ) : |
||
expression | Expression | The expression to test. |
instance | object | The exact object instance to test. |
Résultat |
public static GetTypeRestriction ( Expression expression, |
||
expression | Expression | The expression to test. |
type | The exact type to test. | |
Résultat |
public Merge ( |
||
restrictions | The set of restrictions with which to merge the current binding restrictions. | |
Résultat |