Class TypeValueCounterDictionary
Represents a ValueCounterDictionary<TKey> storing keys of type Type.
public class TypeValueCounterDictionary : ValueCounterDictionary<Type>, IDictionary<Type, int>, ICollection<KeyValuePair<Type, int>>, IEnumerable<KeyValuePair<Type, int>>, IEnumerable
- Inheritance
-
TypeValueCounterDictionary
- Implements
- Inherited Members
- Extension Methods
Methods
GetValue<T>()
Gets the value associated with the type T.
public int GetValue<T>()
Returns
- int
The value associated with the type
T.
Type Parameters
TThe type whose value to retrieve.
SetValue<T>(int)
Sets the value associated with the type T.
public void SetValue<T>(int value)
Parameters
valueintThe value to associate the type
Twith.
Type Parameters
TThe type whose value to set.