KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | Properties | List of all members
KSP.IO.TextWriter Class Reference

Identical to System.IO.TextWriter, but with added IDisposable methods (for use in using() statements), and a factory method instead of constructors. More...

Inheritance diagram for KSP.IO.TextWriter:

Public Member Functions

void Close ()
 
void Dispose ()
 
void Flush ()
 
void Write (bool value)
 
void Write (char value)
 
void Write (char[] buffer)
 
void Write (decimal value)
 
void Write (double value)
 
void Write (float value)
 
void Write (int value)
 
void Write (long value)
 
void Write (object value)
 
void Write (string value)
 
void Write (uint value)
 
void Write (ulong value)
 
void Write (string format, object arg0)
 
void Write (string format, params object[] arg)
 
void Write (char[] buffer, int index, int count)
 
void Write (string format, object arg0, object arg1)
 
void Write (string format, object arg0, object arg1, object arg2)
 
void WriteLine ()
 
void WriteLine (bool value)
 
void WriteLine (char value)
 
void WriteLine (char[] buffer)
 
void WriteLine (decimal value)
 
void WriteLine (double value)
 
void WriteLine (float value)
 
void WriteLine (int value)
 
void WriteLine (long value)
 
void WriteLine (object value)
 
void WriteLine (string value)
 
void WriteLine (uint value)
 
void WriteLine (ulong value)
 
void WriteLine (string format, object arg0)
 
void WriteLine (string format, params object[] arg)
 
void WriteLine (char[] buffer, int index, int count)
 
void WriteLine (string format, object arg0, object arg1)
 
void WriteLine (string format, object arg0, object arg1, object arg2)
 

Static Public Member Functions

static TextWriter CreateForType< T > (string filename, Vessel flight=null)
 Create a text writing stream More...
 

Properties

Encoding Encoding [get]
 
IFormatProvider FormatProvider [get]
 
string NewLine [get, set]
 

Detailed Description

Identical to System.IO.TextWriter, but with added IDisposable methods (for use in using() statements), and a factory method instead of constructors.

Member Function Documentation

void KSP.IO.TextWriter.Close ( )
static TextWriter KSP.IO.TextWriter.CreateForType< T > ( string  filename,
Vessel  flight = null 
)
static

Create a text writing stream

Template Parameters
T
Parameters
filename
flight
Returns
void KSP.IO.TextWriter.Dispose ( )
void KSP.IO.TextWriter.Flush ( )
void KSP.IO.TextWriter.Write ( bool  value)
void KSP.IO.TextWriter.Write ( char  value)
void KSP.IO.TextWriter.Write ( char[]  buffer)
void KSP.IO.TextWriter.Write ( decimal  value)
void KSP.IO.TextWriter.Write ( double  value)
void KSP.IO.TextWriter.Write ( float  value)
void KSP.IO.TextWriter.Write ( int  value)
void KSP.IO.TextWriter.Write ( long  value)
void KSP.IO.TextWriter.Write ( object  value)
void KSP.IO.TextWriter.Write ( string  value)
void KSP.IO.TextWriter.Write ( uint  value)
void KSP.IO.TextWriter.Write ( ulong  value)
void KSP.IO.TextWriter.Write ( string  format,
object  arg0 
)
void KSP.IO.TextWriter.Write ( string  format,
params object[]  arg 
)
void KSP.IO.TextWriter.Write ( char[]  buffer,
int  index,
int  count 
)
void KSP.IO.TextWriter.Write ( string  format,
object  arg0,
object  arg1 
)
void KSP.IO.TextWriter.Write ( string  format,
object  arg0,
object  arg1,
object  arg2 
)
void KSP.IO.TextWriter.WriteLine ( )
void KSP.IO.TextWriter.WriteLine ( bool  value)
void KSP.IO.TextWriter.WriteLine ( char  value)
void KSP.IO.TextWriter.WriteLine ( char[]  buffer)
void KSP.IO.TextWriter.WriteLine ( decimal  value)
void KSP.IO.TextWriter.WriteLine ( double  value)
void KSP.IO.TextWriter.WriteLine ( float  value)
void KSP.IO.TextWriter.WriteLine ( int  value)
void KSP.IO.TextWriter.WriteLine ( long  value)
void KSP.IO.TextWriter.WriteLine ( object  value)
void KSP.IO.TextWriter.WriteLine ( string  value)
void KSP.IO.TextWriter.WriteLine ( uint  value)
void KSP.IO.TextWriter.WriteLine ( ulong  value)
void KSP.IO.TextWriter.WriteLine ( string  format,
object  arg0 
)
void KSP.IO.TextWriter.WriteLine ( string  format,
params object[]  arg 
)
void KSP.IO.TextWriter.WriteLine ( char[]  buffer,
int  index,
int  count 
)
void KSP.IO.TextWriter.WriteLine ( string  format,
object  arg0,
object  arg1 
)
void KSP.IO.TextWriter.WriteLine ( string  format,
object  arg0,
object  arg1,
object  arg2 
)

Property Documentation

Encoding KSP.IO.TextWriter.Encoding
get
IFormatProvider KSP.IO.TextWriter.FormatProvider
get
string KSP.IO.TextWriter.NewLine
getset

The documentation for this class was generated from the following file: