StandardStreamExtensionsGetStandardStream(TextReader) Method
Namespace: Ookii.CommandLine.TerminalAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
public static StandardStream? GetStandardStream(
this TextReader reader
)
<ExtensionAttribute>
Public Shared Function GetStandardStream (
reader As TextReader
) As StandardStream?
Dim reader As TextReader
Dim returnValue As StandardStream?
returnValue = reader.GetStandardStream()
public:
[ExtensionAttribute]
static Nullable<StandardStream> GetStandardStream(
TextReader^ reader
)
- reader TextReader
- The TextReader.
NullableStandardStream
The
StandardStream that
reader is reading from, or
if it's not reading from the standard input stream.
In Visual Basic and C#, you can call this method as an instance method on any object of type
TextReader. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).