Exemple #1
0
 public bool IsSatisfiedBy(ValueSpecification valueSpecification)
 {
     if (ValueName != valueSpecification.ValueName)
     {
         return(false);
     }
     if (!TargetSpecification.Equals(valueSpecification.TargetSpecification))
     {
         return(false);
     }
     if (!Constraints.IsSatisfiedBy(valueSpecification.Properties))
     {
         return(false);
     }
     return(true);
 }
Exemple #2
0
 public ComputedValue(ValueSpecification specification, object value)
 {
     _specification = specification;
     _value         = value;
 }