AvailableValuesCollection Class

Represents a set of configuration values which are available for a particular setting, and their corresponding user-friendly display names.
Inheritance Hierarchy
SystemObject
  Dundas.BI.ConfigurationAvailableValuesCollection

Namespace: Dundas.BI.Configuration
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (26.2.0.1000)
Syntax
public sealed class AvailableValuesCollection : IList<KeyValuePair<Object, string>>, 
	ICollection<KeyValuePair<Object, string>>, IEnumerable<KeyValuePair<Object, string>>, 
	IEnumerable, IReadOnlyList<KeyValuePair<Object, string>>, 
	IReadOnlyCollection<KeyValuePair<Object, string>>

The AvailableValuesCollection type exposes the following members.

Constructors
 NameDescription
Public methodAvailableValuesCollection Initializes a new instance of the AvailableValuesCollection class.
Public methodAvailableValuesCollection(Int32) Initializes a new instance of the AvailableValuesCollection class.
Top
Properties
 NameDescription
Public propertyCountGets the number of elements contained in the ICollectionT.
Public propertyIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
Public propertyItemInt32Gets or sets the element at the specified index.
Public propertyItemObjectGets the display text associated with the specified value.
Public propertyValuesGets all the values contained in the instance.
Top
Methods
 NameDescription
Public methodAddAdds the specified value.
Public methodClearRemoves all items from the ICollectionT.
Public methodContains(KeyValuePairObject, String)Determines whether the ICollectionT contains a specific value.
Public methodContains(Object)Determines whether a value is in the collection.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection.
Public methodRemove Removes the first occurrence of a specific value from the collection.
Public methodRemoveAtRemoves the IListT item at the specified index.
Public methodSortSorts the elements in the collection using the specified comparison.
Public methodTryGetDisplayTextGets the display text associated with a specified value.
Top
Extension Methods
 NameDescription
Public Extension MethodCopyAndConvertListKeyValuePairObject, String, T2 Copies and converts the list. GetObjectTSource, TTarget(TSource) is used.
(Defined by ModelDataExtensions)
Public Extension MethodCopyAndConvertListKeyValuePairObject, String, T2 Copies and converts the list. GetObjectTSource, TTarget(TSource) is used.
(Defined by ModelDataExtensions)
Public Extension MethodCopyListToSetKeyValuePairObject, String Helper method to copy a list into a 'Set'.
(Defined by ModelDataExtensions)
Top
See Also