Class SystemConsole
Mimics System.Console, but allows for swapping
the System.IO.TextWriter of
Out and Error, or the System.IO.TextReader of In
with user-defined implementations.
Inheritance
System.Object
SystemConsole
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Lucene.Net.dll
Syntax
public static class SystemConsole
Properties
|
Improve this Doc
View Source
Error
Declaration
public static TextWriter Error { get; set; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
|
Improve this Doc
View Source
In
Declaration
public static TextReader In { get; set; }
Property Value
Type |
Description |
System.IO.TextReader |
|
|
Improve this Doc
View Source
Out
Declaration
public static TextWriter Out { get; set; }
Property Value
Type |
Description |
System.IO.TextWriter |
|
Methods
|
Improve this Doc
View Source
Write(Boolean)
Declaration
public static void Write(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
|
Improve this Doc
View Source
Write(Char)
Declaration
public static void Write(char value)
Parameters
Type |
Name |
Description |
System.Char |
value |
|
|
Improve this Doc
View Source
Write(Char[])
Declaration
public static void Write(char[] buffer)
Parameters
Type |
Name |
Description |
System.Char[] |
buffer |
|
|
Improve this Doc
View Source
Write(Char[], Int32, Int32)
Declaration
public static void Write(char[] buffer, int index, int count)
Parameters
Type |
Name |
Description |
System.Char[] |
buffer |
|
System.Int32 |
index |
|
System.Int32 |
count |
|
|
Improve this Doc
View Source
Write(Decimal)
Declaration
public static void Write(decimal value)
Parameters
Type |
Name |
Description |
System.Decimal |
value |
|
|
Improve this Doc
View Source
Write(Double)
Declaration
public static void Write(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
|
Improve this Doc
View Source
Write(Int32)
Declaration
public static void Write(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
|
Improve this Doc
View Source
Write(Int64)
Declaration
public static void Write(long value)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
|
Improve this Doc
View Source
Write(Object)
Declaration
public static void Write(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
|
Improve this Doc
View Source
Write(Single)
Declaration
public static void Write(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
|
Improve this Doc
View Source
Write(String)
Declaration
public static void Write(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
|
Improve this Doc
View Source
Write(String, Object)
Declaration
public static void Write(string format, object arg0)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
|
Improve this Doc
View Source
Write(String, Object, Object)
Declaration
public static void Write(string format, object arg0, object arg1)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
|
Improve this Doc
View Source
Write(String, Object, Object, Object)
Declaration
public static void Write(string format, object arg0, object arg1, object arg2)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
System.Object |
arg2 |
|
|
Improve this Doc
View Source
Write(String, Object[])
Declaration
public static void Write(string format, params object[] arg)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
arg |
|
|
Improve this Doc
View Source
Write(UInt32)
Declaration
[CLSCompliant(false)]
public static void Write(uint value)
Parameters
Type |
Name |
Description |
System.UInt32 |
value |
|
|
Improve this Doc
View Source
Write(UInt64)
Declaration
[CLSCompliant(false)]
public static void Write(ulong value)
Parameters
Type |
Name |
Description |
System.UInt64 |
value |
|
|
Improve this Doc
View Source
WriteLine()
Declaration
public static void WriteLine()
|
Improve this Doc
View Source
WriteLine(Boolean)
Declaration
public static void WriteLine(bool value)
Parameters
Type |
Name |
Description |
System.Boolean |
value |
|
|
Improve this Doc
View Source
WriteLine(Char)
Declaration
public static void WriteLine(char value)
Parameters
Type |
Name |
Description |
System.Char |
value |
|
|
Improve this Doc
View Source
WriteLine(Char[])
Declaration
public static void WriteLine(char[] buffer)
Parameters
Type |
Name |
Description |
System.Char[] |
buffer |
|
|
Improve this Doc
View Source
WriteLine(Char[], Int32, Int32)
Declaration
public static void WriteLine(char[] buffer, int index, int count)
Parameters
Type |
Name |
Description |
System.Char[] |
buffer |
|
System.Int32 |
index |
|
System.Int32 |
count |
|
|
Improve this Doc
View Source
WriteLine(Decimal)
Declaration
public static void WriteLine(decimal value)
Parameters
Type |
Name |
Description |
System.Decimal |
value |
|
|
Improve this Doc
View Source
WriteLine(Double)
Declaration
public static void WriteLine(double value)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
|
Improve this Doc
View Source
WriteLine(Int32)
Declaration
public static void WriteLine(int value)
Parameters
Type |
Name |
Description |
System.Int32 |
value |
|
|
Improve this Doc
View Source
WriteLine(Int64)
Declaration
public static void WriteLine(long value)
Parameters
Type |
Name |
Description |
System.Int64 |
value |
|
|
Improve this Doc
View Source
WriteLine(Object)
Declaration
public static void WriteLine(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
|
Improve this Doc
View Source
WriteLine(Single)
Declaration
public static void WriteLine(float value)
Parameters
Type |
Name |
Description |
System.Single |
value |
|
|
Improve this Doc
View Source
WriteLine(String)
Declaration
public static void WriteLine(string value)
Parameters
Type |
Name |
Description |
System.String |
value |
|
|
Improve this Doc
View Source
WriteLine(String, Object)
Declaration
public static void WriteLine(string format, object arg0)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
|
Improve this Doc
View Source
WriteLine(String, Object, Object)
Declaration
public static void WriteLine(string format, object arg0, object arg1)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
|
Improve this Doc
View Source
WriteLine(String, Object, Object, Object)
Declaration
public static void WriteLine(string format, object arg0, object arg1, object arg2)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object |
arg0 |
|
System.Object |
arg1 |
|
System.Object |
arg2 |
|
|
Improve this Doc
View Source
WriteLine(String, Object[])
Declaration
public static void WriteLine(string format, params object[] arg)
Parameters
Type |
Name |
Description |
System.String |
format |
|
System.Object[] |
arg |
|
|
Improve this Doc
View Source
WriteLine(UInt32)
Declaration
[CLSCompliant(false)]
public static void WriteLine(uint value)
Parameters
Type |
Name |
Description |
System.UInt32 |
value |
|
|
Improve this Doc
View Source
WriteLine(UInt64)
Declaration
[CLSCompliant(false)]
public static void WriteLine(ulong value)
Parameters
Type |
Name |
Description |
System.UInt64 |
value |
|