C# OJAI Client API
MapRDB.Driver.Ojai.OjaiValue Class Reference

Public Member Functions

 OjaiValue (string value)
 Constructs OjaiValue instance from string value. More...
 
 OjaiValue (bool value)
 Constructs OjaiValue instance from bool value. More...
 
 OjaiValue (byte value)
 Constructs OjaiValue instance from byte value. More...
 
 OjaiValue (short value)
 Constructs OjaiValue instance from short value. More...
 
 OjaiValue (int value)
 Constructs OjaiValue instance from int value. More...
 
 OjaiValue (long value)
 Constructs OjaiValue instance from long value. More...
 
 OjaiValue (float value)
 Constructs OjaiValue instance from float value. More...
 
 OjaiValue (double value)
 Constructs OjaiValue instance from double value. More...
 
 OjaiValue (decimal value)
 Constructs OjaiValue instance from decimal value. More...
 
 OjaiValue (OjaiDate value)
 Constructs OjaiValue instance from OJAI date value. More...
 
 OjaiValue (OjaiTime value)
 Constructs OjaiValue instance from OJAI time value. More...
 
 OjaiValue (OjaiTimestamp value)
 Constructs OjaiValue instance from OJAI timestamp value. More...
 
 OjaiValue (OjaiInterval value)
 Constructs OjaiValue instance from OJAI interval value. More...
 
 OjaiValue (Byte[] value)
 Constructs OjaiValue instance from binary value. More...
 
 OjaiValue (IDictionary< string, OjaiValue > value)
 Constructs OjaiValue instance from dictionary value. More...
 
 OjaiValue (IList< OjaiValue > value)
 Constructs OjaiValue instance from list value. More...
 
IDictionary< string, OjaiValueToDictionary ()
 Return OJAI value as dictionary. More...
 
IList< OjaiValueToList ()
 Return OJAI value as list. More...
 

Static Public Member Functions

static implicit operator OjaiValue (string value)
 Implicit operator to set string value. More...
 
static implicit operator OjaiValue (bool value)
 Implicit operator to set bool value. More...
 
static implicit operator OjaiValue (byte value)
 Implicit operator to set byte value. More...
 
static implicit operator OjaiValue (short value)
 Implicit operator to set short value. More...
 
static implicit operator OjaiValue (int value)
 Implicit operator to set int value. More...
 
static implicit operator OjaiValue (long value)
 Implicit operator to set long value. More...
 
static implicit operator OjaiValue (float value)
 Implicit operator to set float value. More...
 
static implicit operator OjaiValue (double value)
 Implicit operator to set double value. More...
 
static implicit operator OjaiValue (decimal value)
 Implicit operator to set decimal value. More...
 
static implicit operator OjaiValue (OjaiDate value)
 Implicit operator to set OJAI date value. More...
 
static implicit operator OjaiValue (OjaiTime value)
 Implicit operator to set OAJI time value. More...
 
static implicit operator OjaiValue (OjaiTimestamp value)
 Implicit operator to set OJAI timestamp value. More...
 
static implicit operator OjaiValue (OjaiInterval value)
 Implicit operator to set OJAI interval value. More...
 

Properties

object Value [get, private set]
 
Type ValueType [get, private set]
 
string OjaiType [get, private set]
 

Constructor & Destructor Documentation

◆ OjaiValue() [1/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( string  value)

Constructs OjaiValue instance from string value.

◆ OjaiValue() [2/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( bool  value)

Constructs OjaiValue instance from bool value.

◆ OjaiValue() [3/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( byte  value)

Constructs OjaiValue instance from byte value.

◆ OjaiValue() [4/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( short  value)

Constructs OjaiValue instance from short value.

Parameters
value

◆ OjaiValue() [5/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( int  value)

Constructs OjaiValue instance from int value.

◆ OjaiValue() [6/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( long  value)

Constructs OjaiValue instance from long value.

◆ OjaiValue() [7/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( float  value)

Constructs OjaiValue instance from float value.

◆ OjaiValue() [8/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( double  value)

Constructs OjaiValue instance from double value.

◆ OjaiValue() [9/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( decimal  value)

Constructs OjaiValue instance from decimal value.

◆ OjaiValue() [10/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( OjaiDate  value)

Constructs OjaiValue instance from OJAI date value.

◆ OjaiValue() [11/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( OjaiTime  value)

Constructs OjaiValue instance from OJAI time value.

◆ OjaiValue() [12/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( OjaiTimestamp  value)

Constructs OjaiValue instance from OJAI timestamp value.

◆ OjaiValue() [13/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( OjaiInterval  value)

Constructs OjaiValue instance from OJAI interval value.

◆ OjaiValue() [14/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( Byte []  value)

Constructs OjaiValue instance from binary value.

◆ OjaiValue() [15/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( IDictionary< string, OjaiValue value)

Constructs OjaiValue instance from dictionary value.

◆ OjaiValue() [16/16]

MapRDB.Driver.Ojai.OjaiValue.OjaiValue ( IList< OjaiValue value)

Constructs OjaiValue instance from list value.

Member Function Documentation

◆ operator OjaiValue() [1/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( string  value)
static

Implicit operator to set string value.

◆ operator OjaiValue() [2/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( bool  value)
static

Implicit operator to set bool value.

◆ operator OjaiValue() [3/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( byte  value)
static

Implicit operator to set byte value.

◆ operator OjaiValue() [4/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( short  value)
static

Implicit operator to set short value.

◆ operator OjaiValue() [5/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( int  value)
static

Implicit operator to set int value.

◆ operator OjaiValue() [6/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( long  value)
static

Implicit operator to set long value.

◆ operator OjaiValue() [7/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( float  value)
static

Implicit operator to set float value.

◆ operator OjaiValue() [8/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( double  value)
static

Implicit operator to set double value.

◆ operator OjaiValue() [9/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( decimal  value)
static

Implicit operator to set decimal value.

◆ operator OjaiValue() [10/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( OjaiDate  value)
static

Implicit operator to set OJAI date value.

◆ operator OjaiValue() [11/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( OjaiTime  value)
static

Implicit operator to set OAJI time value.

◆ operator OjaiValue() [12/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( OjaiTimestamp  value)
static

Implicit operator to set OJAI timestamp value.

◆ operator OjaiValue() [13/13]

static implicit MapRDB.Driver.Ojai.OjaiValue.operator OjaiValue ( OjaiInterval  value)
static

Implicit operator to set OJAI interval value.

◆ ToDictionary()

IDictionary<string, OjaiValue> MapRDB.Driver.Ojai.OjaiValue.ToDictionary ( )

Return OJAI value as dictionary.

◆ ToList()

IList<OjaiValue> MapRDB.Driver.Ojai.OjaiValue.ToList ( )

Return OJAI value as list.