StandardStreamExtensionsGetStandardStream(TextReader) Method
Namespace: Ookii.CommandLine.TerminalAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
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).