CDP4SiteDirectory.ViewModels.DomainOfExpertiseBrowserViewModel.DomainOfExpertiseBrowserViewModel C# (CSharp) Method

DomainOfExpertiseBrowserViewModel() public method

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. ///
return System
        public DomainOfExpertiseBrowserViewModel(ISession session, SiteDirectory siteDir,
            IThingDialogNavigationService thingDialogNavigationService, IPanelNavigationService panelNavigationService,
            IDialogNavigationService dialogNavigationService, IPluginSettingsService pluginSettingsService)
            : base(siteDir, session, thingDialogNavigationService, panelNavigationService, dialogNavigationService,
                pluginSettingsService)
        {
            this.Caption = string.Format("{0}, {1}", PanelCaption, this.Thing.Name);
            this.ToolTip = string.Format("{0}\n{1}\n{2}", this.Thing.Name, this.Thing.IDalUri,
                this.Session.ActivePerson.Name);

            this.DomainOfExpertises = new DisposableReactiveList<DomainOfExpertiseRowViewModel>();
            this.ComputeDomains();
        }