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

AddDomainOfExpertise() private method

Add a new row that represents a DomainOfExpertise to the list of DomainOfExpertise.
private AddDomainOfExpertise ( DomainOfExpertise domainOfExpertise ) : void
domainOfExpertise DomainOfExpertise /// The that is to be added. ///
return void
        private void AddDomainOfExpertise(DomainOfExpertise domainOfExpertise)
        {
            var vm = new DomainOfExpertiseRowViewModel(domainOfExpertise, this.Session, this);
            this.DomainOfExpertises.Add(vm);
        }