Пример #1
0
 public CheckCandidateForType(
     CheckCandidateForTypeType type,
     string patternElementName,
     string[] typeIDs,
     bool isNode)
     : base(patternElementName)
 {
     Debug.Assert(type == CheckCandidateForTypeType.ByTypeID);
     Type    = type;
     TypeIDs = (string[])typeIDs.Clone();
     IsNode  = isNode;
 }
Пример #2
0
 public CheckCandidateForType(
     CheckCandidateForTypeType type,
     string patternElementName,
     string rulePatternTypeNameOrTypeName,
     bool isNode)
     : base(patternElementName)
 {
     Debug.Assert(type == CheckCandidateForTypeType.ByIsMyType);
     Type     = type;
     TypeName = rulePatternTypeNameOrTypeName;
     IsNode   = isNode;
 }
Пример #3
0
 public CheckCandidateForType(
     CheckCandidateForTypeType type,
     string patternElementName,
     string[] typeIDs,
     bool isNode)
 {
     Debug.Assert(type == CheckCandidateForTypeType.ByTypeID);
     Type = type;
     PatternElementName = patternElementName;
     TypeIDs = (string[])typeIDs.Clone();
     IsNode = isNode;
 }
Пример #4
0
 public CheckCandidateForType(
     CheckCandidateForTypeType type,
     string patternElementName,
     string rulePatternTypeNameOrTypeName,
     string isAllowedArrayName,
     bool isNode)
 {
     Debug.Assert(type == CheckCandidateForTypeType.ByIsAllowedType);
     Type = type;
     PatternElementName = patternElementName;
     RulePatternTypeName = rulePatternTypeNameOrTypeName;
     IsAllowedArrayName = isAllowedArrayName;
     IsNode = isNode;
 }