Provides a row of values using in conjunction with RowTestAttribute
to bind values to the parameters of a row test method.
Namespace: MbUnit.Framework
Assembly: MbUnit.Framework (in MbUnit.Framework.dll)
Syntax
| C# | Visual Basic | Visual C++ |
[AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public sealed class RowAttribute : TestPatternAttribute
<AttributeUsageAttribute(AttributeTargets.Method, AllowMultiple := True, Inherited := True)> _ Public NotInheritable Class RowAttribute _ Inherits TestPatternAttribute
[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = true, Inherited = true)] public ref class RowAttribute sealed : public TestPatternAttribute
Members
| All Members | Constructors | Properties | Methods | Explicit Interface Implementations |
| Member | Description | |
|---|---|---|
| RowAttribute(array<Object>[]()[]) |
Provides a row of values using in conjunction with RowTestAttribute
to bind values to the parameters of a row test method.
| |
| Description | (Inherited from PatternAttribute.) | |
| Equals(Object) | Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) | |
| ExpectedException |
Gets or sets the type of exception that is expected to be thrown when this
row is tested, or null if none.
| |
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()() | Returns the hash code for this instance. (Inherited from Attribute.) | |
| _Attribute..::.GetIDsOfNames(Guid%, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) | |
| GetRow()()() |
Gets the row of values.
| |
| GetRow(array<ParameterInfo>[]()[]) |
Gets the row of values. Each one will be converted (if posible) to the type of
the corresponding argument in the test method.
| |
| GetType()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| _Attribute..::.GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) | |
| _Attribute..::.GetTypeInfoCount(UInt32%) | (Inherited from Attribute.) | |
| _Attribute..::.Invoke(UInt32, Guid%, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) | |
| IsDefaultAttribute()()() | When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (Inherited from Attribute.) | |
| Match(Object) | When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (Inherited from Attribute.) | |
| MemberwiseClone()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString()()() | (Inherited from Object.) | |
| TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) | |
| Visible | (Inherited from TestPatternAttribute.) |
Inheritance Hierarchy
System..::.Object
System..::.Attribute
MbUnit.Core.Framework..::.PatternAttribute
MbUnit.Core.Framework..::.TestPatternAttribute
MbUnit.Framework..::.RowAttribute
System..::.Attribute
MbUnit.Core.Framework..::.PatternAttribute
MbUnit.Core.Framework..::.TestPatternAttribute
MbUnit.Framework..::.RowAttribute
See Also
MbUnit.Framework Namespace