C# Класс CDP4SiteDirectory.ViewModels.DomainOfExpertiseBrowserViewModel

represents a view-model for the DomainOfExpertises in a SiteDirectory
Наследование: BrowserViewModelBase, IPanelViewModel
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ComputePermission ( ) : void

Compute the permission for the commands

DomainOfExpertiseBrowserViewModel ( ISession session, siteDir, IThingDialogNavigationService thingDialogNavigationService, IPanelNavigationService panelNavigationService, IDialogNavigationService dialogNavigationService, IPluginSettingsService pluginSettingsService ) : System

Initializes a new instance of the DomainOfExpertiseBrowserViewModel class

PopulateContextMenu ( ) : void

Populate the context menu

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

InitializeCommands ( ) : void

Initialize the ReactiveCommands of the current view-model

ObjectChangeEventHandler ( ObjectChangedEvent objectChange ) : void

The ObjectChangedEvent event-handler

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

Метод Описание
AddDomainOfExpertise ( DomainOfExpertise domainOfExpertise ) : void

Add a new row that represents a DomainOfExpertise to the list of DomainOfExpertise.

ComputeDomains ( ) : void

computes the domain rows to add

RemoveDomainOfExpertise ( DomainOfExpertise domainOfExpertise ) : void

Remove a row representing a DomainOfExpertise

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

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

Compute the permission for the commands
public ComputePermission ( ) : void
Результат void

Dispose() защищенный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
protected Dispose ( bool disposing ) : void
disposing bool /// a value indicating whether the class is being disposed of ///
Результат void

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

Initializes a new instance of the DomainOfExpertiseBrowserViewModel class
public DomainOfExpertiseBrowserViewModel ( ISession session, siteDir, IThingDialogNavigationService thingDialogNavigationService, IPanelNavigationService panelNavigationService, IDialogNavigationService dialogNavigationService, IPluginSettingsService pluginSettingsService ) : System
session ISession The containing the given
siteDir The containing the data of this browser
thingDialogNavigationService IThingDialogNavigationService /// The that allows to navigate to dialog view models ///
panelNavigationService IPanelNavigationService The /// The that allows to navigate to Panels ///
dialogNavigationService IDialogNavigationService The
pluginSettingsService IPluginSettingsService /// The used to read and write plugin setting files. ///
Результат System

InitializeCommands() защищенный Метод

Initialize the ReactiveCommands of the current view-model
protected InitializeCommands ( ) : void
Результат void

ObjectChangeEventHandler() защищенный Метод

The ObjectChangedEvent event-handler
protected ObjectChangeEventHandler ( ObjectChangedEvent objectChange ) : void
objectChange ObjectChangedEvent The
Результат void

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

Populate the context menu
public PopulateContextMenu ( ) : void
Результат void