Search Results for

    Show / Hide Table of Contents

    Class DelayedConstraint.WithRawDelayInterval

    Allows only changing the time dimension of delay interval and setting a polling interval of a DelayedConstraint

    Inheritance
    object
    Constraint
    PrefixConstraint
    DelayedConstraint
    DelayedConstraint.WithRawDelayInterval
    Implements
    IConstraint
    IResolveConstraint
    Inherited Members
    DelayedConstraint.ApplyTo<TActual>(TActual)
    DelayedConstraint.ApplyTo<TActual>(ActualValueDelegate<TActual>)
    DelayedConstraint.ApplyTo<TActual>(ref TActual)
    DelayedConstraint.ApplyToAsync<TActual>(Func<Task<TActual>>)
    DelayedConstraint.GetStringRepresentation()
    DelayedConstraint.DelayInterval
    DelayedConstraint.PollingInterval
    DelayedConstraint.Description
    PrefixConstraint.BaseConstraint
    PrefixConstraint.DescriptionPrefix
    Constraint.GetTestObject<TActual>(ActualValueDelegate<TActual>)
    Constraint.ToString()
    Constraint.GetStringRepresentation(IEnumerable)
    Constraint.After(int)
    Constraint.After(int, int)
    Constraint.DisplayName
    Constraint.Arguments
    Constraint.Builder
    Constraint.And
    Constraint.With
    Constraint.Or
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: NUnit.Framework.Constraints
    Assembly: nunit.framework.dll
    Syntax
    public class DelayedConstraint.WithRawDelayInterval : DelayedConstraint, IConstraint, IResolveConstraint

    Constructors

    View Source

    WithRawDelayInterval(DelayedConstraint)

    Creates a new DelayedConstraint.WithRawDelayInterval

    Declaration
    public WithRawDelayInterval(DelayedConstraint parent)
    Parameters
    Type Name Description
    DelayedConstraint parent

    Parent DelayedConstraint on which delay interval dimension is required to be set

    Properties

    View Source

    MilliSeconds

    Changes delay interval dimension to milliseconds

    Declaration
    public DelayedConstraint.WithDimensionedDelayInterval MilliSeconds { get; }
    Property Value
    Type Description
    DelayedConstraint.WithDimensionedDelayInterval
    View Source

    Minutes

    Changes delay interval dimension to minutes

    Declaration
    public DelayedConstraint.WithDimensionedDelayInterval Minutes { get; }
    Property Value
    Type Description
    DelayedConstraint.WithDimensionedDelayInterval
    View Source

    Seconds

    Changes delay interval dimension to seconds

    Declaration
    public DelayedConstraint.WithDimensionedDelayInterval Seconds { get; }
    Property Value
    Type Description
    DelayedConstraint.WithDimensionedDelayInterval

    Methods

    View Source

    PollEvery(int)

    Set polling interval, in milliseconds

    Declaration
    public DelayedConstraint.WithRawPollingInterval PollEvery(int milliSeconds)
    Parameters
    Type Name Description
    int milliSeconds

    A time interval, in milliseconds

    Returns
    Type Description
    DelayedConstraint.WithRawPollingInterval

    Implements

    IConstraint
    IResolveConstraint
    • 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