internal SyncStatementCollection(StatementCollection list) : base(Tag.Default) { rwLock = new System.Threading.ReaderWriterLock(); collection = list; }
/// <summary> /// Initializes a new instance of the <c>Enumerator</c> class. /// </summary> /// <param name="tc"></param> internal Enumerator(StatementCollection tc) { m_collection = tc; m_index = -1; m_version = tc.m_version; }
public override int AddRange(StatementCollection x) { throw new NotSupportedException("This is a Read Only Collection and can not be modified"); }
/// <summary> /// Initializes a new instance of the <c>StatementCollection</c> class /// that contains elements copied from the specified <c>StatementCollection</c>. /// </summary> /// <param name="c">The <c>StatementCollection</c> whose elements are copied to the new collection.</param> public StatementCollection(StatementCollection c) { m_array = new Statement[c.Count]; AddRange(c); }
internal ReadOnlyStatementCollection(StatementCollection list) : base(Tag.Default) { m_collection = list; }