reactredux/webapi/Tests/Core/Attributes/DefaultPriorityAttribute.cs

23 lines
632 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Tests.CoreTests.Attributes
{
/// <summary>
/// Indicates the priority value which will be assigned
/// to tests in this class which don't have a <see cref="PriorityAttribute"/>.
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class DefaultPriorityAttribute : Attribute
{
public DefaultPriorityAttribute(int priority)
{
Priority = priority;
}
public int Priority { get; private set; }
}
}