Table of Contents

Class MaxTimeAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Summary description for MaxTimeAttribute.

[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class MaxTimeAttribute : PropertyAttribute, IApplyToTest, ICommandDecorator
Inheritance
MaxTimeAttribute
Implements
Inherited Members

Constructors

MaxTimeAttribute(int)

Construct a MaxTimeAttribute, given a time in milliseconds.

public MaxTimeAttribute(int milliseconds)

Parameters

milliseconds int

The maximum elapsed time in milliseconds