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