/// <summary> /// Determines if <paramref name="c"/> is the same as this collection /// </summary> /// <param name="c"></param> /// <returns></returns> /// <remarks>Comparison is VERY strict to the point where the group tags must be in the same order</remarks> public bool IsSameCollection(TagGroupCollection c) { if (c == null) { return(false); } if (object.ReferenceEquals(this, c)) { return(true); } if (this.Count == c.Count) { for (int x = 0; x < this.Count; x++) { if (groupTags[x].ID != c.groupTags[x].ID) { return(false); } } return(true); } return(false); }
static TagGroupCollection() { Empty = new TagGroupCollection(); }
public Enumerator(TagGroupCollection collection) { m_coll = collection; m_index = -1; }