PeriodCollection Class

A type-safe collection of Period objects

Definition

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

Constructors

PeriodCollection Default constructor
PeriodCollection(IEnumerablePeriod) Construct a collection from an enumerable list of Period objects

Properties

CountGets the number of elements actually contained in the CollectionT.
(Inherited from CollectionPeriod)
ItemGets or sets the element at the specified index.
(Inherited from CollectionPeriod)
ItemsGets a IListT wrapper around the CollectionT.
(Inherited from CollectionPeriod)

Methods

AddAdds an object to the end of the CollectionT.
(Inherited from CollectionPeriod)
AddRange Add a range of Period objects from an enumerable list
ClearRemoves all elements from the CollectionT.
(Inherited from CollectionPeriod)
ClearItemsRemoves all elements from the CollectionT.
(Inherited from CollectionPeriod)
ContainsDetermines whether an element is in the CollectionT.
(Inherited from CollectionPeriod)
CopyToCopies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionPeriod)
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 CollectionT.
(Inherited from CollectionPeriod)
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 CollectionT.
(Inherited from CollectionPeriod)
InsertInserts an element into the CollectionT at the specified index.
(Inherited from CollectionPeriod)
InsertItemInserts an element into the CollectionT at the specified index.
(Inherited from CollectionPeriod)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
RemoveRemoves the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionPeriod)
RemoveAtRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionPeriod)
RemoveItemRemoves the element at the specified index of the CollectionT.
(Inherited from CollectionPeriod)
RemoveRange Remove a range of items from the collection
SetItemReplaces the element at the specified index.
(Inherited from CollectionPeriod)
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