InControl API Reference
OptionalInt16 Struct Reference

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

bool hasValue
 
Int16 value
 

Properties

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

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