Candor.ExecutionResults.AppendWarningFormat C# (CSharp) Method

AppendWarningFormat() public method

Adds a new warning to the result replacing the format items in the message with the text equivalent of the specified args. Each format specification is replaced by the string representation of the corresponding item in the object argument.
public AppendWarningFormat ( string message ) : void
message string The warning message format with zero or /// more format items.
return void
        public void AppendWarningFormat( string message, params object[] args )
        {
            if (message == null)
                throw new ArgumentNullException("message");
            if (args == null)
                throw new ArgumentNullException("args");

            messages_.Add(new ExecutionStep(ExecutionStepType.Warning, string.Format(message, args)));
        }