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

Class InputTemplate<T>

Inheritance
System.Object
InputTemplate<T>
Implements
IInputTemplate<T>
IInputTemplate
IConfigurationSection<T>
IConfigurationSection
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<IConfigurationOptionDescriptor, IConfigurationValue>>
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.Configuration.Input
Assembly: Snowflake.Framework.dll
Syntax
public class InputTemplate<T> : IInputTemplate<T>, IInputTemplate, IConfigurationSection<T>, IConfigurationSection, IEnumerable<KeyValuePair<IConfigurationOptionDescriptor, IConfigurationValue>>, IEnumerable where T : class, IInputTemplate<T>
Type Parameters
Name Description
T

Constructors

InputTemplate(IControllerElementMappingProfile, Int32)

Declaration
public InputTemplate(IControllerElementMappingProfile mappedElements, int playerIndex = 0)
Parameters
Type Name Description
IControllerElementMappingProfile mappedElements
System.Int32 playerIndex

Properties

Item[ControllerElement]

Declaration
public DeviceCapability this[ControllerElement virtualElement] { set; }
Parameters
Type Name Description
ControllerElement virtualElement
Property Value
Type Description
DeviceCapability

PlayerIndex

Declaration
public int PlayerIndex { get; }
Property Value
Type Description
System.Int32

Template

Declaration
public T Template { get; }
Property Value
Type Description
T

ValueCollection

Declaration
public IConfigurationValueCollection ValueCollection { get; }
Property Value
Type Description
IConfigurationValueCollection

Values

Declaration
public IReadOnlyDictionary<string, DeviceCapability> Values { get; }
Property Value
Type Description
System.Collections.Generic.IReadOnlyDictionary<System.String, DeviceCapability>

Methods

GetEnumerator()

Declaration
public IEnumerator<KeyValuePair<IConfigurationOptionDescriptor, IConfigurationValue>> GetEnumerator()
Returns
Type Description
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<IConfigurationOptionDescriptor, IConfigurationValue>>

Explicit Interface Implementations

IConfigurationSection.Descriptor

Declaration
IConfigurationSectionDescriptor IConfigurationSection.Descriptor { get; }
Returns
Type Description
IConfigurationSectionDescriptor

IConfigurationSection.Item[String]

Declaration
object IConfigurationSection.this[string key] { get; set; }
Parameters
Type Name Description
System.String key
Returns
Type Description
System.Object

IConfigurationSection.Values

Declaration
IReadOnlyDictionary<string, IConfigurationValue> IConfigurationSection.Values { get; }
Returns
Type Description
System.Collections.Generic.IReadOnlyDictionary<System.String, IConfigurationValue>

IConfigurationSection<T>.Configuration

Declaration
T IConfigurationSection<T>.Configuration { get; }
Returns
Type Description
T

IInputTemplate.Options

Declaration
IEnumerable<IInputOption> IInputTemplate.Options { get; }
Returns
Type Description
System.Collections.Generic.IEnumerable<IInputOption>

IEnumerable.GetEnumerator()

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

Implements

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