Table of Contents

Class IniWriter

Namespace
ReFuel.IO
Assembly
ReFuel.dll
public class IniWriter : IDisposable
Inheritance
IniWriter
Implements
Inherited Members

Constructors

IniWriter(Stream, bool, IniOptions?)

public IniWriter(Stream stream, bool keepOpen = false, IniOptions? options = null)

Parameters

stream Stream
keepOpen bool
options IniOptions

IniWriter(TextWriter, bool, IniOptions?)

public IniWriter(TextWriter writer, bool keepOpen = false, IniOptions? options = null)

Parameters

writer TextWriter
keepOpen bool
options IniOptions

Properties

Options

public IniOptions Options { get; }

Property Value

IniOptions

Writer

public TextWriter Writer { get; }

Property Value

TextWriter

Methods

Advance(int)

public void Advance(int count = 1)

Parameters

count int

AdvanceLine(int)

public void AdvanceLine(int count = 1)

Parameters

count int

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()

WriteComment(string, bool)

public void WriteComment(string comment, bool multiline = true)

Parameters

comment string
multiline bool

WriteKeyValue(string, bool, bool)

public void WriteKeyValue(string key, bool value, bool noCheck = false)

Parameters

key string
value bool
noCheck bool

WriteKeyValue(string, double, bool)

public void WriteKeyValue(string key, double value, bool noCheck = false)

Parameters

key string
value double
noCheck bool

WriteKeyValue(string, long, bool)

public void WriteKeyValue(string key, long value, bool noCheck = false)

Parameters

key string
value long
noCheck bool

WriteKeyValue(string, string, bool, IniStringKind)

public void WriteKeyValue(string key, string value, bool noCheck = false, IniStringKind kind = IniStringKind.Any)

Parameters

key string
value string
noCheck bool
kind IniStringKind

WriteSection(string, bool)

public void WriteSection(string label, bool noCheck = false)

Parameters

label string
noCheck bool