Table of Contents

Class AuthorAttribute

Namespace
NUnit.Framework
Assembly
nunit.framework.dll

Provides the Author of a test or test fixture.

[AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class AuthorAttribute : PropertyAttribute, IApplyToTest
Inheritance
AuthorAttribute
Implements
Inherited Members

Constructors

AuthorAttribute(string)

Initializes a new instance of the AuthorAttribute class.

public AuthorAttribute(string name)

Parameters

name string

The name of the author.

AuthorAttribute(string, string)

Initializes a new instance of the AuthorAttribute class.

public AuthorAttribute(string name, string email)

Parameters

name string

The name of the author.

email string

The email address of the author.