Class SystemConsole
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Inherited Members
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public static class SystemConsole
Properties
Error
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static TextWriter Error { get; set; }
Property Value
Type | Description |
---|---|
TextWriter |
Out
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static TextWriter Out { get; set; }
Property Value
Type | Description |
---|---|
TextWriter |
Methods
Write(bool)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value |
Write(char)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(char value)
Parameters
Type | Name | Description |
---|---|---|
char | value |
Write(char[])
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(char[] buffer)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer |
Write(char[], int, int)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(char[] buffer, int index, int count)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | index | |
int | count |
Write(decimal)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(decimal value)
Parameters
Type | Name | Description |
---|---|---|
decimal | value |
Write(double)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(double value)
Parameters
Type | Name | Description |
---|---|---|
double | value |
Write(int)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(int value)
Parameters
Type | Name | Description |
---|---|---|
int | value |
Write(long)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(long value)
Parameters
Type | Name | Description |
---|---|---|
long | value |
Write(object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value |
Write(float)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value |
Write(string)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value |
Write(string, object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(string format, object arg0)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 |
Write(string, object, object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(string format, object arg0, object arg1)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 | |
object | arg1 |
Write(string, object, object, object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(string format, object arg0, object arg1, object arg2)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 | |
object | arg1 | |
object | arg2 |
Write(string, object, object, object, object, __arglist)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
[CLSCompliant(false)]
public static void Write(string format, object arg0, object arg1, object arg2, object arg3, __arglist)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 | |
object | arg1 | |
object | arg2 | |
object | arg3 |
Write(string, params object[])
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void Write(string format, params object[] arg)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object[] | arg |
Write(uint)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
[CLSCompliant(false)]
public static void Write(uint value)
Parameters
Type | Name | Description |
---|---|---|
uint | value |
Write(ulong)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
[CLSCompliant(false)]
public static void Write(ulong value)
Parameters
Type | Name | Description |
---|---|---|
ulong | value |
WriteLine()
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine()
WriteLine(bool)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(bool value)
Parameters
Type | Name | Description |
---|---|---|
bool | value |
WriteLine(char)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(char value)
Parameters
Type | Name | Description |
---|---|---|
char | value |
WriteLine(char[])
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(char[] buffer)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer |
WriteLine(char[], int, int)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(char[] buffer, int index, int count)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | index | |
int | count |
WriteLine(decimal)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(decimal value)
Parameters
Type | Name | Description |
---|---|---|
decimal | value |
WriteLine(double)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(double value)
Parameters
Type | Name | Description |
---|---|---|
double | value |
WriteLine(int)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(int value)
Parameters
Type | Name | Description |
---|---|---|
int | value |
WriteLine(long)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(long value)
Parameters
Type | Name | Description |
---|---|---|
long | value |
WriteLine(object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value |
WriteLine(float)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value |
WriteLine(string)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value |
WriteLine(string, object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(string format, object arg0)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 |
WriteLine(string, object, object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(string format, object arg0, object arg1)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 | |
object | arg1 |
WriteLine(string, object, object, object)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(string format, object arg0, object arg1, object arg2)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 | |
object | arg1 | |
object | arg2 |
WriteLine(string, object, object, object, object, __arglist)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
[CLSCompliant(false)]
public static void WriteLine(string format, object arg0, object arg1, object arg2, object arg3, __arglist)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object | arg0 | |
object | arg1 | |
object | arg2 | |
object | arg3 |
WriteLine(string, params object[])
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
public static void WriteLine(string format, params object[] arg)
Parameters
Type | Name | Description |
---|---|---|
string | format | |
object[] | arg |
WriteLine(uint)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
[CLSCompliant(false)]
public static void WriteLine(uint value)
Parameters
Type | Name | Description |
---|---|---|
uint | value |
WriteLine(ulong)
Mimics Console, but allows for swapping the TextWriter of Out and Error with user-defined implementations.
Declaration
[CLSCompliant(false)]
public static void WriteLine(ulong value)
Parameters
Type | Name | Description |
---|---|---|
ulong | value |