/// <summary> /// Create an Attribute structure from the Module/Macro/Sequence Item structure. /// </summary> /// <param name="attributes">The list to add the Attributes to.</param> public override void CreateAttributeStructure(SortedAttributeList attributes) { this.encounteredDuringCreateAttributeReferencesRecursively++; if (this.encounteredDuringCreateAttributeReferencesRecursively <= 2) { base.CreateAttributeStructure(attributes); } this.encounteredDuringCreateAttributeReferencesRecursively--; }
/// <summary> /// Create an Attribute structure from the Module/Macro/Sequence Item structure. /// </summary> /// <param name="attributes">The list to add this Attribute to.</param> public override void CreateAttributeStructure(SortedAttributeList attributes) { attributes.Add(this); this.sequenceItem.CreateAttributeStructure(this.sortedAttributeList); }
/// <summary> /// Create an Attribute structure from the Module/Macro/Sequence Item structure. /// </summary> /// <param name="attributes">The list to add this Attribute to.</param> public override void CreateAttributeStructure(SortedAttributeList attributes) { attributes.Add(this); }
/// <summary> /// Create an Attribute structure from the Module/Macro/Sequence Item structure. /// </summary> /// <param name="attributes">The list to add this Attribute to.</param> public abstract void CreateAttributeStructure(SortedAttributeList attributes);