Search Results for

    Show / Hide Table of Contents

    Class PropertiesComparerConfiguration

    Class to configure how to compare properties

    Inheritance
    object
    PropertiesComparerConfiguration
    PropertiesComparerConfigurationUntyped
    PropertiesComparerConfiguration<T>
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Framework.Constraints
    Assembly: nunit.framework.dll
    Syntax
    public class PropertiesComparerConfiguration

    Constructors

    View Source

    PropertiesComparerConfiguration()

    Declaration
    public PropertiesComparerConfiguration()

    Methods

    View Source

    SetTolerance(object)

    Set the tolerance to apply based upon the type of the tolerance.

    Declaration
    protected void SetTolerance(object amount)
    Parameters
    Type Name Description
    object amount
    Remarks

    This method accepts a TimeSpan, a numeric value or a Tolerance instance.

    • 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