System.TermInfo.ParameterizedStrings.Evaluate C# (CSharp) Method

Evaluate() public static method

Evaluates a terminfo formatting string, using the supplied argument.
public static Evaluate ( string format, FormatParam arg ) : string
format string The format string.
arg FormatParam The argument to the format string.
return string
            public static string Evaluate(string format, FormatParam arg)
            {
                FormatParam[] args = t_cachedOneElementArgsArray;
                if (args == null)
                {
                    t_cachedOneElementArgsArray = args = new FormatParam[1];
                }

                args[0] = arg;

                return Evaluate(format, args);
            }

Same methods

TermInfo.ParameterizedStrings::Evaluate ( string format ) : string
TermInfo.ParameterizedStrings::Evaluate ( string format, FormatParam arg1, FormatParam arg2 ) : string