Write Message To(MessageWriter) Method
Write the failure message to the MessageWriter provided as an argument. The default implementation simply passes the constraint and the actual value to the writer, which then displays the constraint description and the value. Constraints that need to provide additional details, such as where the error occured can override this.
public virtual void WriteMessageTo (NUnit.Framework.Constraints.MessageWriter writer);
abstract member WriteMessageTo : NUnit.Framework.Constraints.MessageWriter -> unit override this.WriteMessageTo : NUnit.Framework.Constraints.MessageWriter -> unit
The MessageWriter on which to display the message