protected override void PerformExecute() { var buildingBlockWithFormulaCache = _activeSubjectRetriever.Active <IBuildingBlock>(); if (Subject != null) { _context.AddToHistory(_interactionTasks.AddNew(Subject, buildingBlockWithFormulaCache)); } else { _context.AddToHistory(_interactionTasks.AddNew((TParent)buildingBlockWithFormulaCache, buildingBlockWithFormulaCache)); } }
public void AddApplicationMolecule() { AddCommand(_interactionTasksForApplicationMoleculeBuilder.AddNew(_applicationBuilder, BuildingBlock)); }
public void AddAssigment() { AddCommand(_interactionTasksForEventAssignmentBuilder.AddNew(_eventBuilder, BuildingBlock)); }
protected override void PerformExecute() { _context.AddToHistory(_interactionTasks.AddNew(Subject, _activeSubjectRetriever.Active <IBuildingBlock>())); }