C# Class IniParser.Model.Configuration.IniParserConfiguration

Defines data for a Parser configuration object.
Inheritance: ICloneable
Afficher le fichier Open project: rickyah/ini-parser Class Usage Examples

Private Properties

Свойство Type Description
ICloneable object
RecreateSectionRegex void

Méthodes publiques

Méthode Description
Clone ( ) : IniParserConfiguration

Creates a new object that is a copy of the current instance.

Equals ( object obj ) : bool
GetHashCode ( ) : int
IniParserConfiguration ( ) : System

Default values used if an instance of IniDataParser is created without specifying a configuration.

By default the various delimiters for the data are setted:

';' for one-line comments

'[' ']' for delimiting a section

'=' for linking key / value pairs

An example of well formed data with the default values:

;section comment
[section] ; section comment

; key comment
key = value ;key comment

;key2 comment
key2 = value

IniParserConfiguration ( IniParserConfiguration ori ) : System

Copy ctor.

Private Methods

Méthode Description
ICloneable ( ) : object
RecreateSectionRegex ( char value ) : void

Method Details

Clone() public méthode

Creates a new object that is a copy of the current instance.
public Clone ( ) : IniParserConfiguration
Résultat IniParserConfiguration

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

IniParserConfiguration() public méthode

Default values used if an instance of IniDataParser is created without specifying a configuration.
By default the various delimiters for the data are setted:

';' for one-line comments

'[' ']' for delimiting a section

'=' for linking key / value pairs

An example of well formed data with the default values:

;section comment
[section] ; section comment

; key comment
key = value ;key comment

;key2 comment
key2 = value

public IniParserConfiguration ( ) : System
Résultat System

IniParserConfiguration() public méthode

Copy ctor.
public IniParserConfiguration ( IniParserConfiguration ori ) : System
ori IniParserConfiguration /// Original instance to be copied. ///
Résultat System