C# Класс VSSonarExtensionUi.Model.Menu.AssignMenu

The issue handler menu.
Наследование: IMenuItem
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void

Associates the with new project.

CancelRefreshData ( ) : void

Cancels the refresh data.

GetViewModel ( ) : object

Gets the view model.

MakeMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager notmanager ) : IMenuItem

Makes the menu.

OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void

Called when [connect to sonar].

OnDisconnect ( ) : void

Called when [disconnect].

OnSolutionClosed ( ) : void

The end data association.

RefreshMenuData ( ) : void

Refreshes the menu data for menu that have options that are context dependent on the selected issues.

UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void

Updates the services.

Приватные методы

Метод Описание
AssignIssueToAuthor ( List users, Issue issue ) : void

Assigns the issue to author.

AssignIssueToLogin ( List users, string login, List issues ) : void

Assigns the issue to author.

AssignMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager notmanager ) : System

Initializes a new instance of the AssignMenu class.

OnAssociateCommand ( ) : void

The on associate command.

VerifyChangeStatusReplies ( System.Net.HttpStatusCode>.System replies, string message ) : void

Verifies the change status replies.

Описание методов

AssociateWithNewProject() публичный Метод

Associates the with new project.
public AssociateWithNewProject ( Resource project, string workingDir, ISourceControlProvider provider, Profile>.Dictionary profile, string visualStudioVersion ) : void
project Resource The project.
workingDir string The working dir.
provider ISourceControlProvider The provider.
profile Profile>.Dictionary
visualStudioVersion string
Результат void

CancelRefreshData() публичный Метод

Cancels the refresh data.
public CancelRefreshData ( ) : void
Результат void

GetViewModel() публичный Метод

Gets the view model.
public GetViewModel ( ) : object
Результат object

MakeMenu() публичный статический Метод

Makes the menu.
public static MakeMenu ( ISonarRestService rest, IssueGridViewModel model, INotificationManager notmanager ) : IMenuItem
rest ISonarRestService The rest.
model IssueGridViewModel The model.
notmanager INotificationManager The notmanager.
Результат IMenuItem

OnConnectToSonar() публичный Метод

Called when [connect to sonar].
public OnConnectToSonar ( ISonarConfiguration configuration, IEnumerable availableProjects, IIssueTrackerPlugin issuePlugin ) : void
configuration ISonarConfiguration sonar configuration
availableProjects IEnumerable
issuePlugin IIssueTrackerPlugin
Результат void

OnDisconnect() публичный Метод

Called when [disconnect].
public OnDisconnect ( ) : void
Результат void

OnSolutionClosed() публичный Метод

The end data association.
public OnSolutionClosed ( ) : void
Результат void

RefreshMenuData() публичный Метод

Refreshes the menu data for menu that have options that are context dependent on the selected issues.
public RefreshMenuData ( ) : void
Результат void

UpdateServices() публичный Метод

Updates the services.
public UpdateServices ( IVsEnvironmentHelper vsenvironmenthelperIn, IVSSStatusBar statusBar, IServiceProvider provider ) : void
vsenvironmenthelperIn IVsEnvironmentHelper The vsenvironmenthelper in.
statusBar IVSSStatusBar The status bar.
provider IServiceProvider The provider.
Результат void