Class ControllerElementTypeExtensions
Extensions to ControllerElementType
Inheritance
System.Object
ControllerElementTypeExtensions
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.Controller
Assembly: Snowflake.Framework.dll
Syntax
public static class ControllerElementTypeExtensions
Methods
Parse(String)
Parses a ControllerElementType from a string.
Declaration
public static ControllerElementType Parse(string controllerElement)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | controllerElement | The string representation of the controller element. |
Returns
| Type | Description |
|---|---|
| ControllerElementType | A ControllerElementType parsed from the string. |
Exceptions
| Type | Condition |
|---|---|
| System.ArgumentException | If the string is unable to be parsed. |
ToString(ControllerElementType)
Gets the string representation of the ControllerElementType.
Declaration
public static string ToString(this ControllerElementType this)
Parameters
| Type | Name | Description |
|---|---|---|
| ControllerElementType | this | The ControllerElementType to parse. |
Returns
| Type | Description |
|---|---|
| System.String | The string representation of the ControllerElementType. |