System.TermInfo.ParameterizedStrings.Evaluate C# (CSharp) Méthode

Evaluate() public static méthode

Evaluates a terminfo formatting string, using the supplied arguments.
public static Evaluate ( string format, FormatParam arg1, FormatParam arg2 ) : string
format string The format string.
arg1 FormatParam The first argument to the format string.
arg2 FormatParam The second argument to the format string.
Résultat string
            public static string Evaluate(string format, FormatParam arg1, FormatParam arg2)
            {
                FormatParam[] args = t_cachedTwoElementArgsArray;
                if (args == null)
                {
                    t_cachedTwoElementArgsArray = args = new FormatParam[2];
                }

                args[0] = arg1;
                args[1] = arg2;

                return Evaluate(format, args);
            }

Same methods

TermInfo.ParameterizedStrings::Evaluate ( string format ) : string
TermInfo.ParameterizedStrings::Evaluate ( string format, FormatParam arg ) : string