Class TextWriterInfoStream
InfoStream implementation over a System.IO.TextWriter such as System.Console.Out.
NOTE: This is analogous to PrintStreamInfoStream in Lucene.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Implements
System.IDisposable
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()
Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public class TextWriterInfoStream : InfoStream, IDisposable
Constructors
| Improve this Doc View SourceTextWriterInfoStream(TextWriter)
Declaration
public TextWriterInfoStream(TextWriter stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | stream |
TextWriterInfoStream(TextWriter, Int32)
Declaration
public TextWriterInfoStream(TextWriter stream, int messageID)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | stream | |
System.Int32 | messageID |
Fields
| Improve this Doc View Sourcem_messageID
Declaration
protected readonly int m_messageID
Field Value
Type | Description |
---|---|
System.Int32 |
m_stream
Declaration
protected readonly TextWriter m_stream
Field Value
Type | Description |
---|---|
System.IO.TextWriter |
Properties
| Improve this Doc View SourceIsSystemStream
Declaration
public virtual bool IsSystemStream { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
Overrides
| Improve this Doc View SourceIsEnabled(String)
Declaration
public override bool IsEnabled(string component)
Parameters
Type | Name | Description |
---|---|---|
System.String | component |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
| Improve this Doc View SourceMessage(String, String)
Declaration
public override void Message(string component, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | component | |
System.String | message |
Overrides
Implements
System.IDisposable