Class IterableDoubleKeyedCollection<TValueType>
Class which is a collection which can be keyed by a double, and is iterable
Implements
IIterableDoubleKeyedCollection<TValueType>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Double, TValueType>>
System.Collections.IEnumerable
Namespace: Scripting
Syntax
public class IterableDoubleKeyedCollection<TValueType> : IIterableDoubleKeyedCollection<TValueType>, IEnumerable<KeyValuePair<double, TValueType>>, IEnumerable
Type Parameters
Name | Description |
---|---|
TValueType | The type of the value type. |
Properties
Item[Double]
Gets the value with the specified key.
Declaration
public TValueType this[double key] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Double | key |
Property Value
Type | Description |
---|---|
TValueType | The result |
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<KeyValuePair<double, TValueType>> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.Double, TValueType>> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable