Show / Hide Table of Contents

Class OrientationExtensions

Extension methods to the orientation enumeration.

Inheritance
System.Object
OrientationExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class OrientationExtensions

Methods

DecodeOneway(Orientation)

Decodes the orientation into a oneway boolean.

Declaration
public static bool ? DecodeOneway(this Orientation orientaton)
Parameters
Orientation orientaton

Returns
System.Nullable<System.Boolean>

EncodeOneway(Nullable<Boolean>)

Encodes a oneway flag into an orientation.

Declaration
public static Orientation EncodeOneway(this bool ? oneway)
Parameters
System.Nullable<System.Boolean> oneway

Returns
Orientation

Back to top Built by Itinero, MIT licensed.