InControl API Reference
OptionalInt32 Struct Reference

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

bool hasValue
 
Int32 value
 

Properties

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

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