C# Class CSharpRTMP.Common.Variant

Datei anzeigen Open project: langhuihui/csharprtmp Class Usage Examples

Public Methods

Method Description
DeserializeFromFile ( string path, Variant &result ) : bool
DeserializeFromJsonFile ( string path ) : Variant
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
SerializeToFile ( string path ) : void
SerializeToJson ( ) : JToken
SetValue ( System.DateTime dateTime ) : void
SetValue ( IList array ) : void
SetValue ( JToken json ) : void
SetValue ( Variant v ) : void
SetValue ( VariantMap value ) : void
SetValue ( bool v ) : void
SetValue ( byte v ) : void
SetValue ( double v ) : void
SetValue ( int v ) : void
SetValue ( int year, int month, int day ) : void
SetValue ( int hour, int min, int sec, int m ) : void
SetValue ( int year, int month, int day, int hour, int min, int sec, int m ) : void
SetValue ( long v ) : void
SetValue ( object o = null ) : void
SetValue ( sbyte v ) : void
SetValue ( short v ) : void
SetValue ( string v ) : void
SetValue ( uint v ) : void
SetValue ( ulong v ) : void
SetValue ( ushort v ) : void
Variant ( ) : System
Variant ( System.DateTime dateTime ) : System
Variant ( IList array ) : System
Variant ( JToken json ) : System
Variant ( SerializationInfo info, StreamingContext context ) : System
Variant ( Variant v ) : System
Variant ( VariantMap value ) : System
Variant ( bool v ) : System
Variant ( byte v ) : System
Variant ( double v ) : System
Variant ( int v ) : System
Variant ( int year, int month, int day ) : System
Variant ( int hour, int min, int sec, int m ) : System
Variant ( int year, int month, int day, int hour, int min, int sec, int m ) : System
Variant ( long v ) : System
Variant ( sbyte v ) : System
Variant ( short v ) : System
Variant ( string v ) : System
Variant ( uint v ) : System
Variant ( ulong v ) : System
Variant ( ushort v ) : System
operator ( ) : bool
this ( ) : Variant
this ( int index ) : Variant
this ( string key ) : Variant

Method Details

DeserializeFromFile() public static method

public static DeserializeFromFile ( string path, Variant &result ) : bool
path string
result Variant
return bool

DeserializeFromJsonFile() public static method

public static DeserializeFromJsonFile ( string path ) : Variant
path string
return Variant

GetObjectData() public method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

SerializeToFile() public method

public SerializeToFile ( string path ) : void
path string
return void

SerializeToJson() public method

public SerializeToJson ( ) : JToken
return JToken

SetValue() public method

public SetValue ( System.DateTime dateTime ) : void
dateTime System.DateTime
return void

SetValue() public method

public SetValue ( IList array ) : void
array IList
return void

SetValue() public method

public SetValue ( JToken json ) : void
json JToken
return void

SetValue() public method

public SetValue ( Variant v ) : void
v Variant
return void

SetValue() public method

public SetValue ( VariantMap value ) : void
value VariantMap
return void

SetValue() public method

public SetValue ( bool v ) : void
v bool
return void

SetValue() public method

public SetValue ( byte v ) : void
v byte
return void

SetValue() public method

public SetValue ( double v ) : void
v double
return void

SetValue() public method

public SetValue ( int v ) : void
v int
return void

SetValue() public method

public SetValue ( int year, int month, int day ) : void
year int
month int
day int
return void

SetValue() public method

public SetValue ( int hour, int min, int sec, int m ) : void
hour int
min int
sec int
m int
return void

SetValue() public method

public SetValue ( int year, int month, int day, int hour, int min, int sec, int m ) : void
year int
month int
day int
hour int
min int
sec int
m int
return void

SetValue() public method

public SetValue ( long v ) : void
v long
return void

SetValue() public method

public SetValue ( object o = null ) : void
o object
return void

SetValue() public method

public SetValue ( sbyte v ) : void
v sbyte
return void

SetValue() public method

public SetValue ( short v ) : void
v short
return void

SetValue() public method

public SetValue ( string v ) : void
v string
return void

SetValue() public method

public SetValue ( uint v ) : void
v uint
return void

SetValue() public method

public SetValue ( ulong v ) : void
v ulong
return void

SetValue() public method

public SetValue ( ushort v ) : void
v ushort
return void

Variant() public method

public Variant ( ) : System
return System

Variant() public method

public Variant ( System.DateTime dateTime ) : System
dateTime System.DateTime
return System

Variant() public method

public Variant ( IList array ) : System
array IList
return System

Variant() public method

public Variant ( JToken json ) : System
json JToken
return System

Variant() public method

public Variant ( SerializationInfo info, StreamingContext context ) : System
info SerializationInfo
context StreamingContext
return System

Variant() public method

public Variant ( Variant v ) : System
v Variant
return System

Variant() public method

public Variant ( VariantMap value ) : System
value VariantMap
return System

Variant() public method

public Variant ( bool v ) : System
v bool
return System

Variant() public method

public Variant ( byte v ) : System
v byte
return System

Variant() public method

public Variant ( double v ) : System
v double
return System

Variant() public method

public Variant ( int v ) : System
v int
return System

Variant() public method

public Variant ( int year, int month, int day ) : System
year int
month int
day int
return System

Variant() public method

public Variant ( int hour, int min, int sec, int m ) : System
hour int
min int
sec int
m int
return System

Variant() public method

public Variant ( int year, int month, int day, int hour, int min, int sec, int m ) : System
year int
month int
day int
hour int
min int
sec int
m int
return System

Variant() public method

public Variant ( long v ) : System
v long
return System

Variant() public method

public Variant ( sbyte v ) : System
v sbyte
return System

Variant() public method

public Variant ( short v ) : System
v short
return System

Variant() public method

public Variant ( string v ) : System
v string
return System

Variant() public method

public Variant ( uint v ) : System
v uint
return System

Variant() public method

public Variant ( ulong v ) : System
v ulong
return System

Variant() public method

public Variant ( ushort v ) : System
v ushort
return System

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( ) : Variant
return Variant

this() public method

public this ( int index ) : Variant
index int
return Variant

this() public method

public this ( string key ) : Variant
key string
return Variant