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