InControl API Reference
OptionalUInt16 Struct Reference

Public Member Functions

 OptionalUInt16 (UInt16 value)
 
void Clear ()
 
UInt16 GetValueOrDefault (UInt16 defaultValue)
 
UInt16 GetValueOrZero ()
 
void SetValue (UInt16 value)
 
override bool Equals (object other)
 
bool Equals (OptionalUInt16 other)
 
bool Equals (UInt16 other)
 
override int GetHashCode ()
 
override string ToString ()
 

Static Public Member Functions

static bool operator== (OptionalUInt16 a, OptionalUInt16 b)
 
static bool operator!= (OptionalUInt16 a, OptionalUInt16 b)
 
static bool operator== (OptionalUInt16 a, UInt16 b)
 
static bool operator!= (OptionalUInt16 a, UInt16 b)
 
static int CombineHashCodes (int h1, int h2)
 
static implicit operator OptionalUInt16 (UInt16 value)
 
static operator UInt16 (OptionalUInt16 optional)
 

Public Attributes

bool hasValue
 
UInt16 value
 

Properties

bool HasValue [get]
 
bool HasNoValue [get]
 
UInt16 Value [get, set]
 

The documentation for this struct was generated from the following file: