Class DelimitedStringOptions
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Configuration options for Split(String, Action<DelimitedStringOptions>).
public class DelimitedStringOptions : FormattingOptions, IValidatableParameterObject, IParameterObject
- Inheritance
-
DelimitedStringOptions
- Implements
- Inherited Members
Constructors
DelimitedStringOptions()
Initializes a new instance of the DelimitedStringOptions class.
public DelimitedStringOptions()
Remarks
The following table shows the initial property values for an instance of DelimitedStringOptions.
Property | Initial Value |
---|---|
Delimiter | , |
Qualifier | " |
FormatProvider | InvariantCulture |
Properties
Delimiter
Gets or sets the delimiter that separates the fields. Default is comma (,).
public string Delimiter { get; set; }
Property Value
- String
The delimiter that separates the fields.
Qualifier
Gets or sets the qualifier placed around each field to signify that it is the same field. Default is quotation mark (").
public string Qualifier { get; set; }
Property Value
- String
The qualifier placed around each field to signify that it is the same field.
Methods
ValidateOptions()
Determines whether the public read-write properties of this instance are in a valid state.
public override void ValidateOptions()
Remarks
This method is expected to throw exceptions when one or more conditions fails to be in a valid state.