Method | Description | |
---|---|---|
Clear ( ) : void | ||
Contains ( Object key ) : bool | ||
GetBool ( String key ) : bool | ||
GetByte ( String key ) : byte | ||
GetBytes ( string key ) : byte[] | ||
GetChar ( String key ) : char | ||
GetDictionary ( String key ) : IDictionary | ||
GetDouble ( String key ) : double | ||
GetFloat ( String key ) : float | ||
GetInt ( String key ) : int | ||
GetList ( String key ) : IList | ||
GetLong ( String key ) : long | ||
GetShort ( String key ) : short | ||
GetString ( string key ) : string | ||
Marshal ( ) : byte[] | ||
Marshal ( Stream destination ) : void |
Marshals a PrimitiveMap directly to a Stream object. This allows a client to write a PrimitiveMap in a compressed or otherwise encoded form without this class needing to know about it.
|
|
MarshalPrimitive ( |
||
MarshalPrimitiveList ( IList list, |
||
MarshalPrimitiveMap ( IDictionary map ) : byte[] |
Marshals the primitive type map to a byte array
|
|
MarshalPrimitiveMap ( IDictionary map, |
||
MarshalPrimitiveMap ( IDictionary map, Stream stream ) : void | ||
Remove ( Object key ) : void | ||
SetBool ( String key, bool value ) : void | ||
SetByte ( String key, byte value ) : void | ||
SetBytes ( String key, byte value ) : void | ||
SetBytes ( String key, byte value, int offset, int length ) : void | ||
SetChar ( String key, char value ) : void | ||
SetDictionary ( String key, IDictionary value ) : void | ||
SetDouble ( String key, double value ) : void | ||
SetFloat ( String key, float value ) : void | ||
SetInt ( String key, int value ) : void | ||
SetList ( String key, IList value ) : void | ||
SetLong ( String key, long value ) : void | ||
SetShort ( String key, short value ) : void | ||
SetString ( string key, string value ) : void | ||
ToString ( ) : String |
Method ToString
|
|
Unmarshal ( Stream source ) : |
Unmarshals a PrimitiveMap directly from a Stream object. This allows for clients to read PrimitiveMaps from Compressed or other wise encoded streams without this class needing to know about it.
|
|
Unmarshal ( byte data ) : |
Unmarshalls the map from the given data or if the data is null just return an empty map
|
|
UnmarshalPrimitive ( |
||
UnmarshalPrimitiveList ( |
||
UnmarshalPrimitiveMap ( |
||
UnmarshalPrimitiveMap ( Stream source ) : IDictionary | ||
UnmarshalPrimitiveMap ( byte data ) : IDictionary |
Unmarshals the primitive type map from the given byte array
|
|
this ( string key ) : object |
Method | Description | |
---|---|---|
CheckValidType ( Object value ) : void | ||
CheckValueType ( Object value, |
||
GetValue ( String key ) : Object | ||
SetValue ( String key, Object value ) : void |
protected CheckValidType ( Object value ) : void | ||
value | Object | |
return | void |
protected CheckValueType ( Object value, |
||
value | Object | |
type | ||
return | void |
public GetDictionary ( String key ) : IDictionary | ||
key | String | |
return | IDictionary |
public Marshal ( Stream destination ) : void | ||
destination | Stream |
/// A |
return | void |
public static MarshalPrimitive ( |
||
dataOut | ||
value | Object | |
return | void |
public static MarshalPrimitiveList ( IList list, |
||
list | IList | |
dataOut | ||
return | void |
public static MarshalPrimitiveMap ( IDictionary map ) : byte[] | ||
map | IDictionary | |
return | byte[] |
public static MarshalPrimitiveMap ( IDictionary map, |
||
map | IDictionary | |
dataOut | ||
return | void |
public static MarshalPrimitiveMap ( IDictionary map, Stream stream ) : void | ||
map | IDictionary | |
stream | Stream | |
return | void |
public SetBool ( String key, bool value ) : void | ||
key | String | |
value | bool | |
return | void |
public SetByte ( String key, byte value ) : void | ||
key | String | |
value | byte | |
return | void |
public SetBytes ( String key, byte value ) : void | ||
key | String | |
value | byte | |
return | void |
public SetBytes ( String key, byte value, int offset, int length ) : void | ||
key | String | |
value | byte | |
offset | int | |
length | int | |
return | void |
public SetChar ( String key, char value ) : void | ||
key | String | |
value | char | |
return | void |
public SetDictionary ( String key, IDictionary value ) : void | ||
key | String | |
value | IDictionary | |
return | void |
public SetDouble ( String key, double value ) : void | ||
key | String | |
value | double | |
return | void |
public SetFloat ( String key, float value ) : void | ||
key | String | |
value | float | |
return | void |
public SetInt ( String key, int value ) : void | ||
key | String | |
value | int | |
return | void |
public SetList ( String key, IList value ) : void | ||
key | String | |
value | IList | |
return | void |
public SetLong ( String key, long value ) : void | ||
key | String | |
value | long | |
return | void |
public SetShort ( String key, short value ) : void | ||
key | String | |
value | short | |
return | void |
public SetString ( string key, string value ) : void | ||
key | string | |
value | string | |
return | void |
protected SetValue ( String key, Object value ) : void | ||
key | String | |
value | Object | |
return | void |
public static Unmarshal ( Stream source ) : |
||
source | Stream |
/// A |
return |
public static Unmarshal ( byte data ) : |
||
data | byte | |
return |
public static UnmarshalPrimitive ( |
||
dataIn | ||
return | Object |
public static UnmarshalPrimitiveList ( |
||
dataIn | ||
return | IList |
public static UnmarshalPrimitiveMap ( |
||
dataIn | ||
return | IDictionary |
public static UnmarshalPrimitiveMap ( Stream source ) : IDictionary | ||
source | Stream | |
return | IDictionary |
public static UnmarshalPrimitiveMap ( byte data ) : IDictionary | ||
data | byte | |
return | IDictionary |