C# Class SimTelemetry.Objects.IniScanner

Afficher le fichier Open project: nlhans/SimTelemetry Class Usage Examples

Méthodes publiques

Свойство Type Description
Data Dictionary>
HandleCustomKeys Signal
HandleDuplicateKey Signal
HandleUnknownLine Signal
IgnoreGroups bool

Private Properties

Свойство Type Description
ParseParameter string[]
PopGroup void
PushGroup void

Méthodes publiques

Méthode Description
IniScanner ( ) : System
Read ( ) : void
TryGetData ( string group, string key ) : string[]
TryGetDouble ( string key ) : double
TryGetDouble ( string group, string key ) : double
TryGetInt32 ( string key ) : int
TryGetInt32 ( string group, string key ) : int
TryGetString ( string key ) : string
TryGetString ( string group, string key ) : string

Private Methods

Méthode Description
ParseParameter ( string d ) : string[]
PopGroup ( ) : void
PushGroup ( string group ) : void

Method Details

IniScanner() public méthode

public IniScanner ( ) : System
Résultat System

Read() public méthode

public Read ( ) : void
Résultat void

TryGetData() public méthode

public TryGetData ( string group, string key ) : string[]
group string
key string
Résultat string[]

TryGetDouble() public méthode

public TryGetDouble ( string key ) : double
key string
Résultat double

TryGetDouble() public méthode

public TryGetDouble ( string group, string key ) : double
group string
key string
Résultat double

TryGetInt32() public méthode

public TryGetInt32 ( string key ) : int
key string
Résultat int

TryGetInt32() public méthode

public TryGetInt32 ( string group, string key ) : int
group string
key string
Résultat int

TryGetString() public méthode

public TryGetString ( string key ) : string
key string
Résultat string

TryGetString() public méthode

public TryGetString ( string group, string key ) : string
group string
key string
Résultat string

Property Details

Data public_oe property

The data dictionary with groups, keys and then data (arrays).
public Dictionary> Data
Résultat Dictionary>

HandleCustomKeys public_oe property

This event is fired when the current line tries to insert a key that is present in the FireEventsForKeys property. The key value is NOT inserted into the final data dictionary!
public Signal HandleCustomKeys
Résultat Signal

HandleDuplicateKey public_oe property

This event is fired when a duplicate is tried to be inserted.
public Signal HandleDuplicateKey
Résultat Signal

HandleUnknownLine public_oe property

This event is fired whenever the INI parser comes across a line that isn't a key or group indicator.
public Signal HandleUnknownLine
Résultat Signal

IgnoreGroups public_oe property

This setting places all keys in one group. Default: true
public bool IgnoreGroups
Résultat bool