generated from dailydevops/template-dotnet
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIssueAttribute.cs
More file actions
31 lines (27 loc) · 1.04 KB
/
IssueAttribute.cs
File metadata and controls
31 lines (27 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
namespace NetEvolve.Extensions.TUnit;
using System;
using NetEvolve.Extensions.TUnit.Internal;
/// <summary>
/// Attribute used to decorate a test class or method as <b>Issue</b>, with optional Id
/// </summary>
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public sealed class IssueAttribute : CategoryWithIdTraitBaseAttribute
{
/// <summary>
/// Initializes a new instance of the <see cref="IssueAttribute"/> class.
/// </summary>
public IssueAttribute()
: base(Internals.Issue, null) { }
/// <summary>
/// Initializes a new instance of the <see cref="IssueAttribute"/> class.
/// </summary>
/// <param name="id">Issue Id</param>
public IssueAttribute(string? id)
: base(Internals.Issue, id) { }
/// <summary>
/// Initializes a new instance of the <see cref="IssueAttribute"/> class.
/// </summary>
/// <param name="id">Issue Id</param>
public IssueAttribute(long id)
: base(Internals.Issue, id) { }
}