Class DelayedConstraint.WithRawDelayInterval
Allows only changing the time dimension of delay interval and setting a polling interval of a DelayedConstraint
Inheritance
DelayedConstraint.WithRawDelayInterval
Inherited Members
Namespace: NUnit.Framework.Constraints
Assembly: nunit.framework.dll
Syntax
public class DelayedConstraint.WithRawDelayInterval : DelayedConstraint, IConstraint, IResolveConstraint
Constructors
View SourceWithRawDelayInterval(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 SourceMilliSeconds
Changes delay interval dimension to milliseconds
Declaration
public DelayedConstraint.WithDimensionedDelayInterval MilliSeconds { get; }
Property Value
Type | Description |
---|---|
DelayedConstraint.WithDimensionedDelayInterval |
Minutes
Changes delay interval dimension to minutes
Declaration
public DelayedConstraint.WithDimensionedDelayInterval Minutes { get; }
Property Value
Type | Description |
---|---|
DelayedConstraint.WithDimensionedDelayInterval |
Seconds
Changes delay interval dimension to seconds
Declaration
public DelayedConstraint.WithDimensionedDelayInterval Seconds { get; }
Property Value
Type | Description |
---|---|
DelayedConstraint.WithDimensionedDelayInterval |
Methods
View SourcePollEvery(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 |