Inheritance: System.Collections.CollectionBase
Exemplo n.º 1
0
 /// <summary>
 /// Adds the elements of another LogColumnCollection to the end of this LogColumnCollection.
 /// </summary>
 /// <param name="items">
 /// The LogColumnCollection whose elements are to be added to the end of this LogColumnCollection.
 /// </param>
 public virtual void AddRange(LogColumnCollection items)
 {
     foreach (LogColumn item in items)
     {
         this.List.Add(item);
     }
 }
Exemplo n.º 2
0
        private void ChooseColumnsDialog_Load(object sender, EventArgs e)
        {
            LogColumnCollection lcc = new LogColumnCollection();
            foreach (LogColumn lc in Session.Columns)
            {
                lcc.Add(lc.Clone());
            }

            _lcc = lcc;

            dataGridView1.DataSource = lcc;
        }
Exemplo n.º 3
0
 /// <summary>
 /// Adds the elements of another LogColumnCollection to the end of this LogColumnCollection.
 /// </summary>
 /// <param name="items">
 /// The LogColumnCollection whose elements are to be added to the end of this LogColumnCollection.
 /// </param>
 public virtual void AddRange(LogColumnCollection items)
 {
     foreach (LogColumn item in items)
     {
         this.List.Add(item);
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the LogColumnCollection class, containing elements
 /// copied from another instance of LogColumnCollection
 /// </summary>
 /// <param name="items">
 /// The LogColumnCollection whose elements are to be added to the new LogColumnCollection.
 /// </param>
 public LogColumnCollection(LogColumnCollection items)
 {
     this.AddRange(items);
 }
Exemplo n.º 5
0
 public Enumerator(LogColumnCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the LogColumnCollection class, containing elements
 /// copied from another instance of LogColumnCollection
 /// </summary>
 /// <param name="items">
 /// The LogColumnCollection whose elements are to be added to the new LogColumnCollection.
 /// </param>
 public LogColumnCollection(LogColumnCollection items)
 {
     this.AddRange(items);
 }
Exemplo n.º 7
0
 public Enumerator(LogColumnCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }