Поделиться через


GitHubWorkItemAttribute Класс

Определение

Атрибут GitHubWorkItem; используется для указания проблемы GitHub, связанной с этим тестом.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
public sealed class GitHubWorkItemAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.WorkItemAttribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class GitHubWorkItemAttribute : Microsoft.VisualStudio.TestTools.UnitTesting.WorkItemAttribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
type GitHubWorkItemAttribute = class
    inherit WorkItemAttribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=true)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type GitHubWorkItemAttribute = class
    inherit WorkItemAttribute
Public NotInheritable Class GitHubWorkItemAttribute
Inherits WorkItemAttribute
Наследование
GitHubWorkItemAttribute
Атрибуты

Конструкторы

Имя Описание
GitHubWorkItemAttribute(String)

Инициализирует новый экземпляр GitHubWorkItemAttribute класса для атрибута GitHub WorkItem.

Свойства

Имя Описание
Id

Возвращает идентификатор связанного рабочего элемента.

(Унаследовано от WorkItemAttribute)
Url

Возвращает URL-адрес связанной проблемы GitHub.

Применяется к