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