Exemplo n.º 1
0
 internal SyncStatementCollection(StatementCollection list) : base(Tag.Default)
 {
     rwLock     = new System.Threading.ReaderWriterLock();
     collection = list;
 }
Exemplo n.º 2
0
 /// <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;
 }
Exemplo n.º 3
0
 public override int AddRange(StatementCollection x)
 {
     throw new NotSupportedException("This is a Read Only Collection and can not be modified");
 }
Exemplo n.º 4
0
 /// <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);
 }
Exemplo n.º 5
0
 internal ReadOnlyStatementCollection(StatementCollection list) : base(Tag.Default)
 {
     m_collection = list;
 }