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

InitializeCommands() protected method

Initialize the ReactiveCommands of the current view-model
protected InitializeCommands ( ) : void
return void
        protected override void InitializeCommands()
        {
            base.InitializeCommands();

            this.CreateCommand = ReactiveCommand.Create(this.WhenAnyValue(x => x.CanCreateDomain));
            this.CreateCommand.Subscribe(_ => this.ExecuteCreateCommand<DomainOfExpertise>(this.Thing));
        }