public InteractionTasksForEventBuildingBlock(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <IEventGroupBuildingBlock> editTask,
     IInteractionTasksForBuilder <IEventGroupBuilder> builderTask,
     IEventBuildingBlockMergeManager ignoreReplaceCloneMergeManager)
     : base(interactionTaskContext, editTask, builderTask, ignoreReplaceCloneMergeManager)
 {
 }
示例#2
0
 protected InteractionTasksForEnumerableBuildingBlock(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <TBuildingBlock> editTask,
     IInteractionTasksForBuilder <TBuilder> builderTask)
     : base(interactionTaskContext, editTask)
 {
     _builderTask = builderTask;
 }
 protected InteractionTaskForCloneMergeBuildingBlock(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <TBuildingBlock> editTask,
     IInteractionTasksForBuilder <TBuilder> builderTask,
     IIgnoreReplaceCloneMergeManager <TBuilder> cloneMergeManager)
     : base(interactionTaskContext, editTask, builderTask)
 {
     _ignoreReplaceCloneMergeManager = cloneMergeManager;
 }
示例#4
0
        protected override void Context()
        {
            _interactionTaskContext    = A.Fake <IInteractionTaskContext>();
            _editTasksForBuildingBlock = A.Fake <IEditTasksForBuildingBlock <IMoleculeBuildingBlock> >();
            _task = A.Fake <IInteractionTasksForBuilder <IMoleculeBuilder> >();
            _moleculeBuildingBlockCloneManager = A.Fake <IMoleculeBuildingBlockCloneManager>();

            sut = new InteractionTasksForMoleculeBuildingBlock(_interactionTaskContext, _editTasksForBuildingBlock, _task, _moleculeBuildingBlockCloneManager);
        }
示例#5
0
 public InteractionTasksForMoleculeBuildingBlock(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <IMoleculeBuildingBlock> editTask,
     IInteractionTasksForBuilder <IMoleculeBuilder> builderTask,
     IMoleculeBuildingBlockCloneManager moleculeBuildingBlockCloneManager)
     : base(interactionTaskContext, editTask, builderTask, moleculeBuildingBlockCloneManager)
 {
     _editTaskForBuildingBlock = editTask;
 }
示例#6
0
        protected override void Context()
        {
            _interactionTaskContext            = A.Fake <IInteractionTaskContext>();
            _editTasksForBuildingBlock         = A.Fake <IEditTasksForBuildingBlock <IMoBiReactionBuildingBlock> >();
            _interactionTasksForBuilder        = A.Fake <IInteractionTasksForBuilder <IReactionBuilder> >();
            _reactionBuildingBlockMergeManager = A.Fake <IReactionBuildingBlockMergeManager>();
            _diagramTask = A.Fake <IDiagramTask>();
            _reactionBuildingBlockFactory = A.Fake <IReactionBuildingBlockFactory>();

            sut = new InteractionTasksForReactionBuildingBlock(_interactionTaskContext, _editTasksForBuildingBlock, _interactionTasksForBuilder,
                                                               _reactionBuildingBlockMergeManager, _diagramTask, _reactionBuildingBlockFactory);
        }
示例#7
0
 public InteractionTasksForReactionBuildingBlock(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <IMoBiReactionBuildingBlock> editTask,
     IInteractionTasksForBuilder <IReactionBuilder> builderTask,
     IReactionBuildingBlockMergeManager reactionBuildingBlockMergeManager,
     IDiagramTask diagramTask,
     IReactionBuildingBlockFactory reactionBuildingBlockFactory)
     : base(interactionTaskContext, editTask, builderTask, reactionBuildingBlockMergeManager)
 {
     _reactionBuildingBlockMergeManager = reactionBuildingBlockMergeManager;
     _diagramTask = diagramTask;
     _reactionBuildingBlockFactory = reactionBuildingBlockFactory;
 }
 public InteractionTasksForObserverBuildingBlock(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <IObserverBuildingBlock> editTask,
     IInteractionTasksForBuilder <IObserverBuilder> builderTask,
     IMoleculeListTasks moleculeListTasks,
     IObserverBuildingBlockMergeManager mergeIgnoreReplaceMergeManager,
     IFormulaTask formulaTask,
     IMoBiFormulaTask moBiFormulaTask)
     : base(interactionTaskContext, editTask, builderTask, mergeIgnoreReplaceMergeManager, formulaTask, moleculeListTasks)
 {
     _formulaTask     = formulaTask;
     _moBiFormulaTask = moBiFormulaTask;
 }
        protected override void Context()
        {
            _context  = A.Fake <IInteractionTaskContext>();
            _editTask = A.Fake <IEditTasksForBuildingBlock <IMoleculeStartValuesBuildingBlock> >();
            _moleculeStartValuesCreator      = A.Fake <IMoleculeStartValuesCreator>();
            _cloneManagerForBuildingBlock    = A.Fake <ICloneManagerForBuildingBlock>();
            _moleculeStartValueBuildingBlock = new MoleculeStartValuesBuildingBlock();
            _reactionDimensionRetriever      = A.Fake <IReactionDimensionRetriever>();
            _moleculeResolver = A.Fake <IMoleculeResolver>();

            sut = new MoleculeStartValuesTask(_context, _editTask, _moleculeStartValuesCreator,
                                              new ImportedQuantityToMoleculeStartValueMapper(_moleculeStartValuesCreator), A.Fake <IMoleculeStartValueBuildingBlockMergeManager>(), _cloneManagerForBuildingBlock, _reactionDimensionRetriever, A.Fake <IMoBiFormulaTask>(), A.Fake <IMoBiSpatialStructureFactory>(), new MoleculeStartValuePathTask(A.Fake <IFormulaTask>(), _context.Context), _moleculeResolver);
        }
示例#10
0
        protected override void Context()
        {
            _context   = A.Fake <IInteractionTaskContext>();
            _editTasks = A.Fake <IEditTasksForBuildingBlock <IParameterStartValuesBuildingBlock> >();
            _parameterStartValuesCreator      = A.Fake <IParameterStartValuesCreator>();
            _cloneManagerForBuildingBlock     = A.Fake <ICloneManagerForBuildingBlock>();
            _parameterStartValueBuildingBlock = new ParameterStartValuesBuildingBlock();
            _parameterResolver = A.Fake <IParameterResolver>();

            sut = new ParameterStartValuesTask(_context, _editTasks,
                                               _parameterStartValuesCreator,
                                               _cloneManagerForBuildingBlock,
                                               new ImportedQuantityToParameterStartValueMapper(_parameterStartValuesCreator), _parameterResolver, A.Fake <IParameterStartValueBuildingBlockMergeManager>(),
                                               A.Fake <IMoBiFormulaTask>(), A.Fake <IMoBiSpatialStructureFactory>(), new ParameterStartValuePathTask(A.Fake <IFormulaTask>(), _context.Context));
        }
示例#11
0
 public InteractionTasksForPassiveTransportBuildingBlock(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <IPassiveTransportBuildingBlock> editTask,
     IInteractionTasksForBuilder <ITransportBuilder> builderTask,
     IMoleculeListTasks moleculeListTasks,
     IFormulaTask formulaTask,
     IPassiveTranportBuildingBlockMergeManager mergeIgnoreReplaceMergeManager,
     IMoBiFormulaTask moBiFormulaTask)
     : base(interactionTaskContext, editTask, builderTask)
 {
     _moleculeListTasks = moleculeListTasks;
     _formulaTask       = formulaTask;
     _mergeIgnoreReplaceMergeManager = mergeIgnoreReplaceMergeManager;
     _moBiFormulaTask = moBiFormulaTask;
 }
示例#12
0
 public ParameterStartValuesTask(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <IParameterStartValuesBuildingBlock> editTask,
     IParameterStartValuesCreator startValuesCreator,
     ICloneManagerForBuildingBlock cloneManagerForBuildingBlock,
     IImportedQuantityToParameterStartValueMapper dtoToQuantityToParameterStartValueMapper,
     IParameterResolver parameterResolver,
     IParameterStartValueBuildingBlockMergeManager parameterStartValueBuildingBlockMergeManager,
     IMoBiFormulaTask moBiFormulaTask,
     IMoBiSpatialStructureFactory spatialStructureFactory, IParameterStartValuePathTask parameterStartValuePathTask)
     : base(interactionTaskContext, editTask, parameterStartValueBuildingBlockMergeManager, cloneManagerForBuildingBlock, moBiFormulaTask, spatialStructureFactory, dtoToQuantityToParameterStartValueMapper, parameterStartValuePathTask)
 {
     _startValuesCreator = startValuesCreator;
     _parameterResolver  = parameterResolver;
 }
示例#13
0
 public MoleculeStartValuesTask(
     IInteractionTaskContext interactionTaskContext,
     IEditTasksForBuildingBlock <IMoleculeStartValuesBuildingBlock> editTask,
     IMoleculeStartValuesCreator startValuesCreator,
     IImportedQuantityToMoleculeStartValueMapper dtoMapper,
     IMoleculeStartValueBuildingBlockMergeManager startValueBuildingBlockMergeManager,
     ICloneManagerForBuildingBlock cloneManagerForBuildingBlock,
     IReactionDimensionRetriever dimensionRetriever,
     IMoBiFormulaTask moBiFormulaTask,
     IMoBiSpatialStructureFactory spatialStructureFactory, IMoleculeStartValuePathTask moleculeStartValuePathTask, IMoleculeResolver moleculeResolver)
     : base(interactionTaskContext, editTask, startValueBuildingBlockMergeManager, cloneManagerForBuildingBlock, moBiFormulaTask, spatialStructureFactory, dtoMapper, moleculeStartValuePathTask)
 {
     _startValuesCreator = startValuesCreator;
     _dimensionRetriever = dimensionRetriever;
     _moleculeResolver   = moleculeResolver;
 }
 protected InteractionTasksForEnumerableBuildingBlockOfContainerBuilder(IInteractionTaskContext interactionTaskContext, IEditTasksForBuildingBlock <TBuildingBlock> editTask) : base(interactionTaskContext, editTask)
 {
 }
示例#15
0
 protected AbstractStartValuesTask(IInteractionTaskContext interactionTaskContext, IEditTasksForBuildingBlock <TBuildingBlock> editTask,
                                   IIgnoreReplaceMergeManager <TStartValue> startValueBuildingBlockMergeManager, ICloneManagerForBuildingBlock cloneManagerForBuildingBlock,
                                   IMoBiFormulaTask moBiFormulaTask, ISpatialStructureFactory spatialStructureFactory, IMapper <ImportedQuantityDTO, TStartValue> dtoToQuantityToParameterStartValueMapper,
                                   IStartValuePathTask <TBuildingBlock, TStartValue> startValuePathTask)
     : base(interactionTaskContext, editTask)
 {
     _startValueBuildingBlockMergeManager = startValueBuildingBlockMergeManager;
     _cloneManagerForBuildingBlock        = cloneManagerForBuildingBlock;
     _moBiFormulaTask         = moBiFormulaTask;
     _spatialStructureFactory = spatialStructureFactory;
     _dtoToQuantityToParameterStartValueMapper = dtoToQuantityToParameterStartValueMapper;
     _startValuePathTask = startValuePathTask;
 }
 protected InteractionTasksForBuildingBlock(IInteractionTaskContext interactionTaskContext,
                                            IEditTasksForBuildingBlock <TBuildingBlock> editTask)
     : base(interactionTaskContext, editTask)
 {
 }
示例#17
0
 protected InteractionTasksForEnumerableBuildingBlock(IInteractionTaskContext interactionTaskContext, IEditTasksForBuildingBlock <TBuildingBlock> editTask) : this(interactionTaskContext, editTask, null)
 {
 }
示例#18
0
 protected InteractionTasksForMergableBuildingBlock(IInteractionTaskContext interactionTaskContext, IEditTasksForBuildingBlock <TBuildingBlock> editTask, IInteractionTasksForBuilder <TBuilder> builderTask, IMergeIgnoreReplaceMergeManager <TBuilder> mergeIgnoreReplaceMergeManager, IFormulaTask formulaTask, IMoleculeListTasks moleculeListTasks)
     : base(interactionTaskContext, editTask, builderTask)
 {
     _mergeIgnoreReplaceMergeManager = mergeIgnoreReplaceMergeManager;
     _formulaTask       = formulaTask;
     _moleculeListTasks = moleculeListTasks;
 }
示例#19
0
 public InteractionTasksForSimulationSettings(IInteractionTaskContext interactionTaskContext, IEditTasksForBuildingBlock <ISimulationSettings> editTask, ISimulationSettingsFactory simulationSettingsFactory)
     : base(interactionTaskContext, editTask)
 {
     _simulationSettingsFactory = simulationSettingsFactory;
 }