Show / Hide Table of Contents

Class ColumnDescriptorCollection

A keyed collection of ColumnDescriptors. The Key is the MemberName.

Inheritance
object
Collection<ColumnDescriptor>
KeyedCollection<string, ColumnDescriptor>
ColumnDescriptorCollection
Implements
IList<ColumnDescriptor>
ICollection<ColumnDescriptor>
IReadOnlyList<ColumnDescriptor>
IReadOnlyCollection<ColumnDescriptor>
IEnumerable<ColumnDescriptor>
IList
ICollection
IEnumerable
KeyedCollection<string, ColumnDescriptor>.ChangeItemKey(ColumnDescriptor, string)
KeyedCollection<string, ColumnDescriptor>.ClearItems()
KeyedCollection<string, ColumnDescriptor>.Contains(string)
KeyedCollection<string, ColumnDescriptor>.GetKeyForItem(ColumnDescriptor)
KeyedCollection<string, ColumnDescriptor>.InsertItem(int, ColumnDescriptor)
KeyedCollection<string, ColumnDescriptor>.Remove(string)
KeyedCollection<string, ColumnDescriptor>.RemoveItem(int)
KeyedCollection<string, ColumnDescriptor>.SetItem(int, ColumnDescriptor)
KeyedCollection<string, ColumnDescriptor>.TryGetValue(string, out ColumnDescriptor)
KeyedCollection<string, ColumnDescriptor>.Comparer
KeyedCollection<string, ColumnDescriptor>.Dictionary
KeyedCollection<string, ColumnDescriptor>.this[string]
Collection<ColumnDescriptor>.Add(ColumnDescriptor)
Collection<ColumnDescriptor>.Clear()
Collection<ColumnDescriptor>.ClearItems()
Collection<ColumnDescriptor>.Contains(ColumnDescriptor)
Collection<ColumnDescriptor>.CopyTo(ColumnDescriptor[], int)
Collection<ColumnDescriptor>.GetEnumerator()
Collection<ColumnDescriptor>.IndexOf(ColumnDescriptor)
Collection<ColumnDescriptor>.Insert(int, ColumnDescriptor)
Collection<ColumnDescriptor>.InsertItem(int, ColumnDescriptor)
Collection<ColumnDescriptor>.Remove(ColumnDescriptor)
Collection<ColumnDescriptor>.RemoveAt(int)
Collection<ColumnDescriptor>.RemoveItem(int)
Collection<ColumnDescriptor>.SetItem(int, ColumnDescriptor)
Collection<ColumnDescriptor>.Count
Collection<ColumnDescriptor>.this[int]
Collection<ColumnDescriptor>.Items
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public class ColumnDescriptorCollection : KeyedCollection<string, ColumnDescriptor>, IList<ColumnDescriptor>, ICollection<ColumnDescriptor>, IReadOnlyList<ColumnDescriptor>, IReadOnlyCollection<ColumnDescriptor>, IEnumerable<ColumnDescriptor>, IList, ICollection, IEnumerable

Constructors

View Source

ColumnDescriptorCollection()

Initializes a new instance of the ColumnDescriptorCollection class.

Declaration
public ColumnDescriptorCollection()
View Source

ColumnDescriptorCollection(IEnumerable<ColumnDescriptor>)

Initializes a new instance of the ColumnDescriptorCollection class from an enumerable.

Declaration
public ColumnDescriptorCollection(IEnumerable<ColumnDescriptor> columnDescriptors)
Parameters
Type Name Description
IEnumerable<ColumnDescriptor> columnDescriptors

The enumerable.

Methods

View Source

GetKeyForItem(ColumnDescriptor)

When implemented in a derived class, extracts the key from the specified element.

Declaration
protected override string GetKeyForItem(ColumnDescriptor columnDescriptor)
Parameters
Type Name Description
ColumnDescriptor columnDescriptor

The element from which to extract the key.

Returns
Type Description
string

The key for the specified element.

Overrides
KeyedCollection<string, ColumnDescriptor>.GetKeyForItem(ColumnDescriptor)

Implements

IList<T>
ICollection<T>
IReadOnlyList<T>
IReadOnlyCollection<T>
IEnumerable<T>
IList
ICollection
IEnumerable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
ListExtensions.ToDataTable<T>(IList<T>)
  • View Source
Back to top Generated by DocFX