Search Results for

    Show / Hide Table of Contents

    Class AssertBase

    Base class for different Assert, containing helper functions

    Inheritance
    object
    AssertBase
    Assert
    CollectionAssert
    DirectoryAssert
    FileAssert
    StringAssert
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Framework
    Assembly: nunit.framework.dll
    Syntax
    public abstract class AssertBase

    Constructors

    View Source

    AssertBase()

    Declaration
    protected AssertBase()

    Methods

    View Source

    ConvertMessageWithArgs(string, object?[]?)

    Check if message comes with args, and convert that to a formatted string

    Declaration
    protected static string ConvertMessageWithArgs(string message, object?[]? args)
    Parameters
    Type Name Description
    string message
    object[] args
    Returns
    Type Description
    string
    • View Source
    In this article
    Back to top Generated by DocFX | Copyright (c) 2018- The NUnit Project - Licensed under CC BY-NC-SA 4.0