C# Class System.Runtime.Serialization.Plists.UniqueValueCache

Provides a cache of unique primitive values when writing a binary plist.
ファイルを表示 Open project: ChadBurggraf/plists-cs Class Usage Examples

Public Methods

Method Description
Contains ( System.DateTime value ) : bool

Gets a value indicating whether the cache contains the given value.

Contains ( bool value ) : bool

Gets a value indicating whether the cache contains the given value.

Contains ( double value ) : bool

Gets a value indicating whether the cache contains the given value.

Contains ( float value ) : bool

Gets a value indicating whether the cache contains the given value.

Contains ( long value ) : bool

Gets a value indicating whether the cache contains the given value.

Contains ( string value ) : bool

Gets a value indicating whether the cache contains the given value.

GetIndex ( System.DateTime value ) : int

Gets the index in the object table for the given value, assuming it has already been added to the cache.

GetIndex ( bool value ) : int

Gets the index in the object table for the given value, assuming it has already been added to the cache.

GetIndex ( double value ) : int

Gets the index in the object table for the given value, assuming it has already been added to the cache.

GetIndex ( float value ) : int

Gets the index in the object table for the given value, assuming it has already been added to the cache.

GetIndex ( long value ) : int

Gets the index in the object table for the given value, assuming it has already been added to the cache.

GetIndex ( string value ) : int

Gets the index in the object table for the given value, assuming it has already been added to the cache.

SetIndex ( System.DateTime value, int index ) : void

Sets the index in the object table for the given value.

SetIndex ( bool value, int index ) : void

Sets the index in the object table for the given value.

SetIndex ( double value, int index ) : void

Sets the index in the object table for the given value.

SetIndex ( float value, int index ) : void

Sets the index in the object table for the given value.

SetIndex ( long value, int index ) : void

Sets the index in the object table for the given value.

SetIndex ( string value, int index ) : void

Sets the index in the object table for the given value.

Method Details

Contains() public method

Gets a value indicating whether the cache contains the given value.
public Contains ( System.DateTime value ) : bool
value System.DateTime The value to check for.
return bool

Contains() public method

Gets a value indicating whether the cache contains the given value.
public Contains ( bool value ) : bool
value bool The value to check for.
return bool

Contains() public method

Gets a value indicating whether the cache contains the given value.
public Contains ( double value ) : bool
value double The value to check for.
return bool

Contains() public method

Gets a value indicating whether the cache contains the given value.
public Contains ( float value ) : bool
value float The value to check for.
return bool

Contains() public method

Gets a value indicating whether the cache contains the given value.
public Contains ( long value ) : bool
value long The value to check for.
return bool

Contains() public method

Gets a value indicating whether the cache contains the given value.
public Contains ( string value ) : bool
value string The value to check for.
return bool

GetIndex() public method

Gets the index in the object table for the given value, assuming it has already been added to the cache.
public GetIndex ( System.DateTime value ) : int
value System.DateTime The value to get the index of.
return int

GetIndex() public method

Gets the index in the object table for the given value, assuming it has already been added to the cache.
public GetIndex ( bool value ) : int
value bool The value to get the index of.
return int

GetIndex() public method

Gets the index in the object table for the given value, assuming it has already been added to the cache.
public GetIndex ( double value ) : int
value double The value to get the index of.
return int

GetIndex() public method

Gets the index in the object table for the given value, assuming it has already been added to the cache.
public GetIndex ( float value ) : int
value float The value to get the index of.
return int

GetIndex() public method

Gets the index in the object table for the given value, assuming it has already been added to the cache.
public GetIndex ( long value ) : int
value long The value to get the index of.
return int

GetIndex() public method

Gets the index in the object table for the given value, assuming it has already been added to the cache.
public GetIndex ( string value ) : int
value string The value to get the index of.
return int

SetIndex() public method

Sets the index in the object table for the given value.
public SetIndex ( System.DateTime value, int index ) : void
value System.DateTime The value to set the index for.
index int The index to set.
return void

SetIndex() public method

Sets the index in the object table for the given value.
public SetIndex ( bool value, int index ) : void
value bool The value to set the index for.
index int The index to set.
return void

SetIndex() public method

Sets the index in the object table for the given value.
public SetIndex ( double value, int index ) : void
value double The value to set the index for.
index int The index to set.
return void

SetIndex() public method

Sets the index in the object table for the given value.
public SetIndex ( float value, int index ) : void
value float The value to set the index for.
index int The index to set.
return void

SetIndex() public method

Sets the index in the object table for the given value.
public SetIndex ( long value, int index ) : void
value long The value to set the index for.
index int The index to set.
return void

SetIndex() public method

Sets the index in the object table for the given value.
public SetIndex ( string value, int index ) : void
value string The value to set the index for.
index int The index to set.
return void