Table of Contents

Class IniWriter

Namespace
Sisk.IniConfiguration.Core.Serialization
Assembly
Sisk.IniConfiguration.Core.dll

Represents a writer for INI files.

public sealed class IniWriter : IDisposable
Inheritance
IniWriter
Implements
Inherited Members

Constructors

IniWriter(TextWriter)

Initializes a new instance of the IniWriter class.

Properties

CommentChar

Gets or sets the default comment character.

NewLineBehavior

Gets or sets the behavior for writing new lines inside properties values.

Writer

Gets the underlying text writer.

Methods

Dispose()

Releases all resources used by the IniWriter object.

Write(IniDocument)

Writes an INI document to the INI file.

Write(IniSection)

Writes an INI section to the INI file.

Write(in KeyValuePair<string, string[]>)

Writes a key-value pair to the INI file, where the value is an array of strings.

Write(string, string?)

Writes a key-value pair to the INI file.

WriteComment(string)

Writes a comment to the INI file.