C# 클래스 IniParser.Model.Configuration.IniParserConfiguration

Defines data for a Parser configuration object.
상속: ICloneable
파일 보기 프로젝트 열기: rickyah/ini-parser 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ICloneable object
RecreateSectionRegex void

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
ICloneable ( ) : object
RecreateSectionRegex ( char value ) : void

메소드 상세

Clone() 공개 메소드

Creates a new object that is a copy of the current instance.
public Clone ( ) : IniParserConfiguration
리턴 IniParserConfiguration

Equals() 공개 메소드

public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

IniParserConfiguration() 공개 메소드

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
리턴 System

IniParserConfiguration() 공개 메소드

Copy ctor.
public IniParserConfiguration ( IniParserConfiguration ori ) : System
ori IniParserConfiguration /// Original instance to be copied. ///
리턴 System