1 <Type Name="SetUpAttribute" FullName="NUnit.Framework.SetUpAttribute">
2 <TypeSignature Language="C#" Maintainer="auto" Value="public sealed class SetUpAttribute : Attribute" />
4 <AssemblyName>nunit.framework</AssemblyName>
7 <AssemblyVersion>2.1.4.0</AssemblyVersion>
8 <AssemblyVersion>2.2.0.0</AssemblyVersion>
10 <ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
12 <BaseTypeName>System.Attribute</BaseTypeName>
17 <AttributeName>System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)</AttributeName>
22 SetUp this attribute are used inside a TestFixture to provide a function that are performed prior a test method is called.
26 A TestFixture can have only one SetUp method. If more than one is defined the TestFixture will not be run.
27 It will compile however.
32 using NUnit.Framework;
35 public class SuccessTests
38 public void GetReady()
60 <Member MemberName=".ctor">
61 <MemberSignature Language="C#" Value="public SetUpAttribute ();" />
62 <MemberType>Constructor</MemberType>
66 <summary>Flags a method as a Setup method</summary>
67 <remarks>To be added.</remarks>
70 <AssemblyVersion>2.2.0.0</AssemblyVersion>