コード例 #1
0
 public ElementDescriptor(ElementDescriptorType type, int templateCode, JObject properties, ConstraintSet constraints)
 {
     Type         = type;
     TemplateCode = templateCode;
     Properties   = properties;
     Constraints  = constraints;
 }
コード例 #2
0
 private bool Equals(ConstraintSet other)
 {
     return(_constraints.Count == other._constraints.Count && !_constraints.Except(other._constraints).Any());
 }