• Home
  • Blog
  • Docs
  • GitHub
Show / Hide Table of Contents

Class DefaultDeviceCapabilityLabels

Implements a default label mapping using the name of the capability enum element.

Inheritance
System.Object
DefaultDeviceCapabilityLabels
Implements
IDeviceCapabilityLabels
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 DefaultDeviceCapabilityLabels : IDeviceCapabilityLabels, IEnumerable<KeyValuePair<DeviceCapability, string>>, IEnumerable

Properties

DefaultLabels

Default labels using the name of the capability enum element.

Declaration
public static IDeviceCapabilityLabels DefaultLabels { get; }
Property Value
Type Description
IDeviceCapabilityLabels

Item[DeviceCapability]

Declaration
public string this[DeviceCapability capability] { get; }
Parameters
Type Name Description
DeviceCapability capability
Property Value
Type Description
System.String

Methods

GetEnumerator()

Declaration
public IEnumerator<KeyValuePair<DeviceCapability, string>> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<DeviceCapability, System.String>>

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type Description
System.Collections.IEnumerator

Implements

IDeviceCapabilityLabels
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.