Class HandednessExtensions
Inheritance
HandednessExtensions
Assembly: cs.temp.dll.dll
public static class HandednessExtensions
Methods
Gets the opposite "hand" flag for the current Handedness value.
Declaration
public static Handedness GetOppositeHandedness(this Handedness current)
Parameters
Type |
Name |
Description |
Handedness |
current |
|
Returns
Type |
Description |
Handedness |
|
Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise
Declaration
public static bool IsLeft(this Handedness current)
Parameters
Type |
Name |
Description |
Handedness |
current |
|
Returns
Returns true if the current Handedness flags are a match with the comparison Handedness flags, false otherwise
Declaration
public static bool IsMatch(this Handedness current, Handedness compare)
Parameters
Type |
Name |
Description |
Handedness |
current |
|
Handedness |
compare |
|
Returns
Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise
Declaration
public static bool IsNone(this Handedness current)
Parameters
Type |
Name |
Description |
Handedness |
current |
|
Returns
Returns true if the current Handedness is the Right (i.e == Handedness.Right), false otherwise
Declaration
public static bool IsRight(this Handedness current)
Parameters
Type |
Name |
Description |
Handedness |
current |
|
Returns