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; }
public CheckCandidateForType( CheckCandidateForTypeType type, string patternElementName, string rulePatternTypeNameOrTypeName, bool isNode) : base(patternElementName) { Debug.Assert(type == CheckCandidateForTypeType.ByIsMyType); Type = type; TypeName = rulePatternTypeNameOrTypeName; IsNode = isNode; }
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; }
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; }