Class DictionaryDeviceCapabilityLabels
Implements a label mapping using a backing dictionary. Missing labels are replaced with the empty string.
Inheritance
System.Object
DictionaryDeviceCapabilityLabels
Implements
System.Collections.Generic.IEnumerable <System.Collections.Generic.KeyValuePair <DeviceCapability , System.String >>
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Snowflake.Input.Device
Assembly: Snowflake.Framework.dll
Syntax
public sealed class DictionaryDeviceCapabilityLabels : IDeviceCapabilityLabels, IEnumerable<KeyValuePair<DeviceCapability, string>>, IEnumerable
Constructors
DictionaryDeviceCapabilityLabels(IDictionary<DeviceCapability, String>)
Create a new IDevice
Declaration
public DictionaryDeviceCapabilityLabels(IDictionary<DeviceCapability, string> labels)
Parameters
Type | Name | Description |
---|---|---|
System. |
labels | The backing dictionary to use. |
Properties
Item[DeviceCapability]
Declaration
public string this[DeviceCapability capability] { get; }
Parameters
Type | Name | Description |
---|---|---|
Device |
capability |
Property Value
Type | Description |
---|---|
System. |
Methods
GetEnumerator()
Declaration
public IEnumerator<KeyValuePair<DeviceCapability, string>> GetEnumerator()
Returns
Type | Description |
---|---|
System. |
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System. |
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable