Ejemplo n.º 1
0
 internal Restriction(Expression parameter, object instance) {
     _kind = RestrictionKind.Instance;
     _expression = parameter;
     _instance = instance;
 }
Ejemplo n.º 2
0
 internal Restriction(Expression expression) {
     _kind = RestrictionKind.Custom;
     _expression = expression;
 }
Ejemplo n.º 3
0
 internal Restriction(Expression parameter, Type type) {
     _kind = RestrictionKind.Type;
     _expression = parameter;
     _type = type;
 }