IniParser.Model.Configuration.IniParserConfiguration.IniParserConfiguration C# (CSharp) Method

IniParserConfiguration() public method

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
return System
        public IniParserConfiguration()
        {
            CommentString = ";";
            SectionStartChar = '[';
            SectionEndChar = ']';
            KeyValueAssigmentChar = '=';
            AssigmentSpacer = " ";
            NewLineStr = Environment.NewLine;
            ConcatenateDuplicateKeys = false;
            AllowKeysWithoutSection = true;
            AllowDuplicateKeys = false;
            AllowDuplicateSections = false;
            ThrowExceptionsOnError = true;
            SkipInvalidLines = false;
        }

Same methods

IniParserConfiguration::IniParserConfiguration ( IniParserConfiguration ori ) : System