public SpeciesAttributesViewModel(MycoKeyCreator.Library.Database.IKeyManager iKeyManager, MycoKeyCreator.Library.DBObject.Key key, MycoKeyCreator.Library.DBObject.Species species) { Species = species; IKeyManager = iKeyManager; Key = key; Load(); }
public SpeciesViewModel(MycoKeyCreator.Library.Database.IKeyManager keyManager, MycoKeyCreator.Library.DBObject.Key key, MycoKeyCreator.Library.DBObject.Species species) { _iKeyManager = keyManager; _key = key; Species = species; EditedSpecies = Species.Clone(); }