Exemple #1
0
 /// <summary>
 /// Handles the <see cref="DomainChangedEvent"/>
 /// </summary>
 /// <param name="domainChangeEvent">The <see cref="DomainChangedEvent"/></param>
 protected virtual void UpdateDomain(DomainChangedEvent domainChangeEvent)
 {
     this.DomainOfExpertise = domainChangeEvent.SelectedDomain == null ? "None" : $"{domainChangeEvent.SelectedDomain.Name} [{domainChangeEvent.SelectedDomain.ShortName}]";
 }
Exemple #2
0
 /// <summary>
 /// Handles the <see cref="DomainChangedEvent"/>
 /// </summary>
 /// <param name="domainChangeEvent">The <see cref="DomainChangedEvent"/></param>
 protected override void UpdateDomain(DomainChangedEvent domainChangeEvent)
 {
     base.UpdateDomain(domainChangeEvent);
     this.ElementDefinitionRowViewModels.ClearAndDispose();
     this.UpdateElementDefinition();
 }
 /// <summary>
 /// Handles the <see cref="DomainChangedEvent"/>
 /// </summary>
 /// <param name="domainChangeEvent">The <see cref="DomainChangedEvent"/></param>
 protected override void UpdateDomain(DomainChangedEvent domainChangeEvent)
 {
     base.UpdateDomain(domainChangeEvent);
     this.TopElement.ClearAndDispose();
     this.SetTopElement(this.Thing.Container as Iteration);
 }