C# Class System.TermInfo.ParameterizedStrings.FormatParam

Represents a parameter to a terminfo formatting string. It is a discriminated union of either an integer or a string, with characters represented as integers.
显示文件 Open project: dotnet/corefx

Public Methods

Method Description
FormatParam ( Int32 value ) : System.Collections.Generic

Initializes the parameter with an integer value.

FormatParam ( String value ) : System.Collections.Generic

Initializes the parameter with a string value.

Private Methods

Method Description
FormatParam ( Int32 intValue, String stringValue ) : System.Collections.Generic

Initializes the parameter.

Method Details

FormatParam() public method

Initializes the parameter with an integer value.
public FormatParam ( Int32 value ) : System.Collections.Generic
value Int32 The value to be stored in the parameter.
return System.Collections.Generic

FormatParam() public method

Initializes the parameter with a string value.
public FormatParam ( String value ) : System.Collections.Generic
value String The value to be stored in the parameter.
return System.Collections.Generic