C# Class Pluton.DataStore

Inheritance: CountedInstance
Afficher le fichier Open project: Notulp/Pluton Class Usage Examples

Méthodes publiques

Свойство Type Description
PATH string
datastore System.Collections.Hashtable

Méthodes publiques

Méthode Description
Add ( string tablename, object key, object val ) : void
AddFromIni ( string inipath ) : bool
ContainsKey ( string tablename, object key ) : bool
ContainsValue ( string tablename, object val ) : bool
Count ( string tablename ) : int
DataStore ( string path ) : System
Flush ( string tablename ) : void
Get ( string tablename, object key ) : object
GetInstance ( ) : DataStore
GetTable ( string tablename ) : Hashtable
Keys ( string tablename ) : object[]
Load ( ) : void
Remove ( string tablename, object key ) : void
RemoveChars ( string str ) : string
Save ( ) : void
TableToIni ( string tablename, string inipath ) : bool
ToIni ( string inifilename = "DataStore" ) : bool
Values ( string tablename ) : object[]
this ( string tablename, object key ) : object

Private Methods

Méthode Description
DeserializeIfPossible ( object keyorval ) : object
SerializeIfPossible ( object keyorval ) : object

Method Details

Add() public méthode

public Add ( string tablename, object key, object val ) : void
tablename string
key object
val object
Résultat void

AddFromIni() public méthode

public AddFromIni ( string inipath ) : bool
inipath string
Résultat bool

ContainsKey() public méthode

public ContainsKey ( string tablename, object key ) : bool
tablename string
key object
Résultat bool

ContainsValue() public méthode

public ContainsValue ( string tablename, object val ) : bool
tablename string
val object
Résultat bool

Count() public méthode

public Count ( string tablename ) : int
tablename string
Résultat int

DataStore() public méthode

public DataStore ( string path ) : System
path string
Résultat System

Flush() public méthode

public Flush ( string tablename ) : void
tablename string
Résultat void

Get() public méthode

public Get ( string tablename, object key ) : object
tablename string
key object
Résultat object

GetInstance() public static méthode

public static GetInstance ( ) : DataStore
Résultat DataStore

GetTable() public méthode

public GetTable ( string tablename ) : Hashtable
tablename string
Résultat System.Collections.Hashtable

Keys() public méthode

public Keys ( string tablename ) : object[]
tablename string
Résultat object[]

Load() public méthode

public Load ( ) : void
Résultat void

Remove() public méthode

public Remove ( string tablename, object key ) : void
tablename string
key object
Résultat void

RemoveChars() public méthode

public RemoveChars ( string str ) : string
str string
Résultat string

Save() public méthode

public Save ( ) : void
Résultat void

TableToIni() public méthode

public TableToIni ( string tablename, string inipath ) : bool
tablename string
inipath string
Résultat bool

ToIni() public méthode

public ToIni ( string inifilename = "DataStore" ) : bool
inifilename string
Résultat bool

Values() public méthode

public Values ( string tablename ) : object[]
tablename string
Résultat object[]

this() public méthode

public this ( string tablename, object key ) : object
tablename string
key object
Résultat object

Property Details

PATH public_oe property

public string PATH
Résultat string

datastore public_oe property

public Hashtable,System.Collections datastore
Résultat System.Collections.Hashtable