PeriodCollection Class

A type-safe collection of Period objects

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2025.1.9.0
public class PeriodCollection : Collection<Period>
Inheritance
Object    Collection<Period>    PeriodCollection

Constructors

PeriodCollection() Default constructor
PeriodCollection(IEnumerable<Period>) Construct a collection from an enumerable list of Period objects

Properties

CountGets the number of elements actually contained in the Collection<T>.
(Inherited from Collection<Period>)
ItemGets or sets the element at the specified index.
(Inherited from Collection<Period>)
ItemsGets a IList<T> wrapper around the Collection<T>.
(Inherited from Collection<Period>)

Methods

AddAdds an object to the end of the Collection<T>.
(Inherited from Collection<Period>)
AddRange Add a range of Period objects from an enumerable list
ClearRemoves all elements from the Collection<T>.
(Inherited from Collection<Period>)
ClearItemsRemoves all elements from the Collection<T>.
(Inherited from Collection<Period>)
ContainsDetermines whether an element is in the Collection<T>.
(Inherited from Collection<Period>)
CopyToCopies the entire Collection<T> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from Collection<Period>)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorReturns an enumerator that iterates through the Collection<T>.
(Inherited from Collection<Period>)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire Collection<T>.
(Inherited from Collection<Period>)
InsertInserts an element into the Collection<T> at the specified index.
(Inherited from Collection<Period>)
InsertItemInserts an element into the Collection<T> at the specified index.
(Inherited from Collection<Period>)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemoveRemoves the first occurrence of a specific object from the Collection<T>.
(Inherited from Collection<Period>)
RemoveAtRemoves the element at the specified index of the Collection<T>.
(Inherited from Collection<Period>)
RemoveItemRemoves the element at the specified index of the Collection<T>.
(Inherited from Collection<Period>)
RemoveRange Remove a range of items from the collection
SetItemReplaces the element at the specified index.
(Inherited from Collection<Period>)
Sort This is used to sort the collection in ascending or descending order
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also