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