Beispiel #1
0
 protected override IReversibleCommand <IMoBiContext> GetInverseCommand(IMoBiContext context)
 {
     return(BuildingBlockChangeBaseCommandExtensions.AsInverseFor(new RemoveMoleculeFromReactionBuildingBlockCommand(_buildingBlock, _moleculeNodeId), this));
 }
Beispiel #2
0
 protected override ICommand <IMoBiContext> GetInverseCommand(IMoBiContext context)
 {
     return(BuildingBlockChangeBaseCommandExtensions.AsInverseFor(new AddMoleculeToReactionBuildingBlockCommand(_buildingBlock, _moleculeNodeName), this));
 }