public void Set(TaxonDto taxon) { Id = taxon.Id; Name = taxon.Name; Genus = taxon.Genus; Species = taxon.Species; OnPropertyChanged(nameof(Name)); }
private void RenewTaxa(TaxonDto taxon) { foreach (var item in CollectionItems) { if (item.TaxonId == taxon.Id) { item.Name = _viewProvider.GenerateName(item.InnerObject.Id); } } }
public TaxonViewModel(TaxonDto innerObject) { _innerObject = innerObject; }