コード例 #1
0
        protected override void Context()
        {
            _view = A.Fake <ICreateSimulationView>();
            _subPresenterManager           = A.Fake <ISubPresenterItemManager <ISimulationItemPresenter> >();
            _buildConfigurationPresenter   = _subPresenterManager.CreateFake(SimulationItems.BuildConfiguration);
            _moleculeStartValuesPresenter  = _subPresenterManager.CreateFake(SimulationItems.MoleculeStartValues);
            _parameterStartValuesPresenter = _subPresenterManager.CreateFake(SimulationItems.ParameterStartValues);
            _finalActionPresenter          = _subPresenterManager.CreateFake(SimulationItems.FinalOptions);

            A.CallTo(() => _subPresenterManager.AllSubPresenters).Returns(new ISimulationItemPresenter[] { _buildConfigurationPresenter, _moleculeStartValuesPresenter, _parameterStartValuesPresenter, _finalActionPresenter });
            _context          = A.Fake <IMoBiContext>();
            _modelConstructor = A.Fake <IModelConstructor>();
            _dialogCreator    = A.Fake <IDialogCreator>();
            A.CallTo(() => _modelConstructor.CreateModelFrom(A <IBuildConfiguration> ._, A <string> ._)).Returns(A.Fake <CreationResult>());


            _validationVisitor = A.Fake <IDimensionValidator>();
            _userSettings      = A.Fake <IUserSettings>();
            _userSettings.CheckCircularReference = true;
            _simulationFactory         = A.Fake <ISimulationFactory>();
            _buildConfigurationFactory = A.Fake <IBuildConfigurationFactory>();
            _heavyWorkManager          = new HeavyWorkManagerForSpecs();
            _forbiddenNameRetriever    = A.Fake <IForbiddenNamesRetriever>();
            sut = new CreateSimulationPresenter(_view, _context, _modelConstructor, _validationVisitor,
                                                _simulationFactory, _buildConfigurationFactory, _heavyWorkManager, _subPresenterManager, _dialogCreator,
                                                _forbiddenNameRetriever, _userSettings);

            _simulation = A.Fake <IMoBiSimulation>();
            A.CallTo(() => _simulationFactory.Create()).Returns(_simulation);
            _buildConfiguration = createBuildConfiguration();
            A.CallTo(() => _simulation.MoBiBuildConfiguration).Returns(_buildConfiguration);
            A.CallTo(() => _moleculeStartValuesPresenter.StartValues).Returns(A.Fake <IMoleculeStartValuesBuildingBlock>().WithId(_useId));
            A.CallTo(() => _parameterStartValuesPresenter.StartValues).Returns(A.Fake <IParameterStartValuesBuildingBlock>().WithId(_useId));
        }
コード例 #2
0
        protected override void Context()
        {
            _view = A.Fake <IConfigureSimulationView>();
            _subPresenterManager    = SubPresenterHelper.Create <ISimulationItemPresenter>();
            _simulationModelCreator = A.Fake <ISimulationModelCreator>();
            _heavyWorkManager       = new HeavyWorkManagerForSpecs();
            _cloner        = A.Fake <ICloner>();
            _dialogCreator = A.Fake <IDialogCreator>();
            _simulationParametersUpdater           = A.Fake <ISimulationParametersUpdater>();
            _fullPathDisplayResolver               = A.Fake <IFullPathDisplayResolver>();
            _buildingBlockInSimulationSynchronizer = A.Fake <IBuildingBlockInSimulationSynchronizer>();
            _validationResult = new ValidationResult();

            _simulationModelConfigurationPresenter = _subPresenterManager.CreateFake(SimulationItems.Model);
            _simulationCompoundsPresenter          = _subPresenterManager.CreateFake(SimulationItems.Compounds);
            _simulationCompoundProtocolsPresenter  = _subPresenterManager.CreateFake(SimulationItems.CompoundProtocols);
            _simulationCompoundProcessesPresenter  = _subPresenterManager.CreateFake(SimulationItems.CompoundsProcesses);
            _simulationEventsPresenter             = _subPresenterManager.CreateFake(SimulationItems.Events);

            sut = new ConfigureSimulationPresenter(_view, _subPresenterManager, _simulationModelCreator, _heavyWorkManager, _cloner, _dialogCreator, _simulationParametersUpdater, _fullPathDisplayResolver, _buildingBlockInSimulationSynchronizer);

            _originalSimulation = A.Fake <Simulation>();
            _clonedSimulation   = A.Fake <Simulation>();
            A.CallTo(() => _cloner.CloneForModel(_originalSimulation)).Returns(_clonedSimulation);
            A.CallTo(() => _simulationModelConfigurationPresenter.Simulation).Returns(_clonedSimulation);

            A.CallTo(_simulationParametersUpdater).WithReturnType <ValidationResult>().Returns(_validationResult);
        }
 protected AbstractDisposableSubPresenterContainerPresenter(TView view, ISubPresenterItemManager <TSubPresenter> subPresenterItemManager, IReadOnlyList <ISubPresenterItem> subPresenterItems, IDialogCreator dialogCreator)
     : base(view)
 {
     _subPresenterItemManager = subPresenterItemManager;
     _subPresenterItems       = subPresenterItems;
     _dialogCreator           = dialogCreator;
 }
コード例 #4
0
 protected SimulationWizardPresenter(TView view, ISubPresenterItemManager <ISimulationItemPresenter> subPresenterItemManager,
                                     ISimulationModelCreator simulationModelCreator, IHeavyWorkManager heavyWorkManager, IDialogCreator dialogCreator)
     : base(view, subPresenterItemManager, SimulationItems.All, dialogCreator)
 {
     _simulationModelCreator = simulationModelCreator;
     _heavyWorkManager       = heavyWorkManager;
 }
コード例 #5
0
 public CloneSimulationPresenter(ICloneSimulationView view, ISubPresenterItemManager <ISimulationItemPresenter> subPresenterItemManager, ISimulationModelCreator simulationModelCreator,
                                 IHeavyWorkManager heavyWorkManager, ICloner cloner, IDialogCreator dialogCreator, IObjectBaseDTOFactory buildingBlockDTOFactory,
                                 ISimulationParametersUpdater simulationParametersUpdater, IFullPathDisplayResolver fullPathDisplayResolver, IBuildingBlockInSimulationSynchronizer buildingBlockInSimulationSynchronizer)
     : base(view, subPresenterItemManager, simulationModelCreator, heavyWorkManager, cloner, dialogCreator, simulationParametersUpdater, fullPathDisplayResolver, buildingBlockInSimulationSynchronizer, CreationMode.Clone)
 {
     _buildingBlockDTOFactory = buildingBlockDTOFactory;
 }
コード例 #6
0
 public CreateFormulationPresenter(ICreateFormulationView view, ISubPresenterItemManager <IFormulationItemPresenter> subPresenterItemManager,
                                   IBuildingBlockPropertiesMapper propertiesMapper, IObjectBaseDTOFactory buildingBlockDTOFactory, IDialogCreator dialogCreator)
     : base(view, subPresenterItemManager, FormulationItems.All, dialogCreator)
 {
     _propertiesMapper        = propertiesMapper;
     _buildingBlockDTOFactory = buildingBlockDTOFactory;
 }
コード例 #7
0
        protected override void Context()
        {
            _subPresenterManager = SubPresenterHelper.Create <IIndividualItemPresenter>();
            _view                                  = A.Fake <IScaleIndividualView>();
            _propertiesMapper                      = A.Fake <IBuildingBlockPropertiesMapper>();
            _workspace                             = A.Fake <IWorkspace>();
            _individualExpressionsUpdater          = A.Fake <IIndividualExpressionsUpdater>();
            _cloner                                = A.Fake <ICloner>();
            _sourceIndividual                      = A.Fake <Individual>();
            _cloneIndividual                       = A.Fake <Individual>();
            _scaledIndividual                      = A.Fake <Individual>();
            _objectBaseDTOFactory                  = A.Fake <IObjectBaseDTOFactory>();
            _settingPresenter                      = _subPresenterManager.CreateFake(ScaleIndividualItems.Settings);
            _parameterPresenter                    = _subPresenterManager.CreateFake(ScaleIndividualItems.Parameters);
            _scalingConfigurationPresenter         = _subPresenterManager.CreateFake(ScaleIndividualItems.Scaling);
            _moleculePresenter                     = _subPresenterManager.CreateFake(ScaleIndividualItems.Expressions);
            ScaleIndividualItems.Expressions.Index = 3;
            A.CallTo(() => _cloner.Clone(_sourceIndividual)).Returns(_cloneIndividual);
            _individualSettingsDTO = new IndividualSettingsDTO();

            _dialogCreator = A.Fake <IDialogCreator>();
            A.CallTo(() => _settingPresenter.Individual).Returns(_scaledIndividual);
            _scaleIndividualPropertiesDTO = new ObjectBaseDTO();
            A.CallTo(() => _objectBaseDTOFactory.CreateFor <Individual>()).Returns(_scaleIndividualPropertiesDTO);

            sut = new ScaleIndividualPresenter(_view, _subPresenterManager, _dialogCreator, _individualExpressionsUpdater,
                                               _objectBaseDTOFactory, _propertiesMapper, _cloner);
            sut.Initialize();
        }
コード例 #8
0
 public CreateEventPresenter(ICreateEventView view, ISubPresenterItemManager <IEventItemPresenter> subPresenterItemManager, IDialogCreator dialogCreator,
                             IObjectBaseDTOFactory objectBaseDTOFactory, IEventFactory eventFactory, IBuildingBlockPropertiesMapper propertiesMapper)
     : base(view, subPresenterItemManager, EventItems.All, dialogCreator)
 {
     _objectBaseDTOFactory = objectBaseDTOFactory;
     _eventFactory         = eventFactory;
     _propertiesMapper     = propertiesMapper;
 }
コード例 #9
0
 public CreateIndividualPresenter(ICreateIndividualView view, ISubPresenterItemManager <IIndividualItemPresenter> subPresenterItemManager, IDialogCreator dialogCreator,
                                  IBuildingBlockPropertiesMapper propertiesMapper, IObjectBaseDTOFactory buildingBlockDTOFactory)
     : base(view, subPresenterItemManager, IndividualItems.All, dialogCreator)
 {
     _propertiesMapper        = propertiesMapper;
     _buildingBlockDTOFactory = buildingBlockDTOFactory;
     AllowQuickFinish         = true;
 }
 public SimulationModelConfigurationPresenter(
     ISimulationModelConfigurationView view,
     ISubPresenterItemManager <ISimulationModelConfigurationItemPresenter> subPresenterItemManager,
     ISimulationFactory simulationFactory)
     : base(view, subPresenterItemManager, SimulationModelConfigurationItems.All)
 {
     _simulationFactory = simulationFactory;
 }
コード例 #11
0
 public CreateCompoundPresenter(ICreateCompoundView view, ISubPresenterItemManager <ICompoundItemPresenter> subPresenterItemManager, IDialogCreator dialogCreator,
                                ICompoundFactory compoundFactory, IObjectBaseDTOFactory objectBaseDTOFactory, IBuildingBlockPropertiesMapper propertiesMapper)
     : base(view, subPresenterItemManager, CompoundItems.All, dialogCreator)
 {
     _compoundFactory      = compoundFactory;
     _objectBaseDTOFactory = objectBaseDTOFactory;
     _propertiesMapper     = propertiesMapper;
     AllowQuickFinish      = true;
 }
コード例 #12
0
 public ProteinExpressionsPresenter(IProteinExpressionsView view, ISubPresenterItemManager <IExpressionItemPresenter> subPresenterItemManager, IDialogCreator dialogCreator,
                                    IGeneExpressionQueries geneExpressionQueries, IMappingPresenter mappingPresenter, IProteinExpressionDataHelper dataHelper)
     : base(view, subPresenterItemManager, ExpressionItems.All, dialogCreator)
 {
     _geneExpressionQueries            = geneExpressionQueries;
     _mappingPresenter                 = mappingPresenter;
     _dataHelper                       = dataHelper;
     _mappingPresenter.MappingChanged += MappingChanged;
 }
コード例 #13
0
ファイル: SubPresenterHelper.cs プロジェクト: onwhenrdy/MoBi
        public static T CreateFake <T, U>(this ISubPresenterItemManager <U> subPresenterManager, SubPresenterItem <T> subPresenterItem)
            where U : ISubPresenter
            where T : U
        {
            var subPresenter = A.Fake <T>();

            A.CallTo(() => subPresenterManager.PresenterAt(subPresenterItem)).Returns(subPresenter);
            return(subPresenter);
        }
コード例 #14
0
 protected override void Context()
 {
    _view = A.Fake<ICompoundAdvancedParametersView>();
    _subPresenterManager = A.Fake<ISubPresenterItemManager<ICompoundAdvancedParameterGroupPresenter>>();
    _p1 = A.Fake<IParticleDissolutionGroupPresenter>();
    _p2 = A.Fake<ITwoPoreGroupPresenter>();
    A.CallTo(() => _subPresenterManager.AllSubPresenters).Returns(new ICompoundAdvancedParameterGroupPresenter[] {_p1, _p2});
    sut = new CompoundAdvancedParametersPresenter(_view, _subPresenterManager);
 }
コード例 #15
0
 protected CreatePopulationPresenter(TView view, ISubPresenterItemManager <IPopulationItemPresenter> subPresenterItemManager,
                                     IReadOnlyList <ISubPresenterItem> subPresenterItems, IDialogCreator dialogCreator,
                                     IBuildingBlockPropertiesMapper propertiesMapper, IObjectBaseDTOFactory buildingBlockDTOFactory, IBuildingBlockRepository buildingBlockRepository)
     : base(view, subPresenterItemManager, subPresenterItems, dialogCreator)
 {
     _propertiesMapper        = propertiesMapper;
     _buildingBlockDTOFactory = buildingBlockDTOFactory;
     _buildingBlockRepository = buildingBlockRepository;
 }
        protected ConfigureSimulationPresenterBase(TView view, ISubPresenterItemManager <ISimulationItemPresenter> subPresenterManager, IDialogCreator dialogCreator, IBuildConfigurationFactory buildConfigurationFactory, IMoBiContext context, IReadOnlyList <ISubPresenterItem> subPresenterItems)
            : base(view, subPresenterManager, subPresenterItems, dialogCreator)
        {
            _buildConfigurationFactory = buildConfigurationFactory;
            _context  = context;
            _commands = new MoBiMacroCommand();

            InitializeWith(_commands);
            AllowQuickFinish = true;
        }
コード例 #17
0
 protected override void Context()
 {
     _view = A.Fake <IEditObserverSetView>();
     _subPresenterManager = SubPresenterHelper.Create <IObserverSetItemPresenter>();
     _observerSet         = new ObserverSet().WithName("TOTO");
     sut = new EditObserverSetPresenter(_view, _subPresenterManager);
     _importObserverSetSettings = _subPresenterManager.CreateFake(ObserverSetItems.ImportSettings);
     _importObserverSetSettings.ShowFilePath = true;
     sut.Edit(_observerSet);
 }
コード例 #18
0
 public EditSensitivityAnalysisPresenter(IEditSensitivityAnalysisView view,
                                         ISubPresenterItemManager <ISensitivityAnalysisItemPresenter> subPresenterItemManager,
                                         IOSPSuiteExecutionContext executionContext,
                                         ISimulationAnalysisPresenterFactory simulationAnalysisPresenterFactory,
                                         ISimulationAnalysisPresenterContextMenuFactory contextMenuFactory, IPresentationSettingsTask presentationSettingsTask,
                                         ISensitivityAnalysisPKParameterAnalysisCreator simulationAnalysisCreator) :
     base(view, subPresenterItemManager, SensitivityAnalysisItems.All, simulationAnalysisPresenterFactory, contextMenuFactory, presentationSettingsTask, simulationAnalysisCreator)
 {
     _executionContext = executionContext;
 }
コード例 #19
0
        protected override void Context()
        {
            _simulationFactory = A.Fake <ISimulationFactory>();
            _view = A.Fake <ISimulationModelConfigurationView>();
            _subPresenterManager = SubPresenterHelper.Create <ISimulationModelConfigurationItemPresenter>();
            _simulationSubjectConfigurationPresenter = _subPresenterManager.CreateFake(SimulationModelConfigurationItems.Subject);
            _simulationModelSelectionPresenter       = _subPresenterManager.CreateFake(SimulationModelConfigurationItems.ModelSelection);

            sut = new SimulationModelConfigurationPresenter(_view, _subPresenterManager, _simulationFactory);
        }
コード例 #20
0
 public EditProtocolPresenter(IEditProtocolView view, ISubPresenterItemManager <IProtocolItemPresenter> subPresenterItemManager,
                              IProtocolChartPresenter protocolChartPresenter, ISchemaTask schemaTask,
                              IProtocolUpdater protocolUpdater, IDialogCreator dialogCreator)
     : base(view, subPresenterItemManager, ProtocolItems.All)
 {
     _protocolChartPresenter = protocolChartPresenter;
     _schemaTask             = schemaTask;
     _protocolUpdater        = protocolUpdater;
     _dialogCreator          = dialogCreator;
     _view.UpdateChartControl(_protocolChartPresenter.View);
 }
コード例 #21
0
        protected override void Context()
        {
            _view = A.Fake <IProteinExpressionsView>();
            _subPresenterManager      = A.Fake <ISubPresenterItemManager <IExpressionItemPresenter> >();
            _dialogCreator            = A.Fake <IDialogCreator>();
            _proteinExpressionQueries = A.Fake <IProteinExpressionQueries>();
            _mappingPresenter         = A.Fake <IMappingPresenter>();
            _dataHelper = A.Fake <IProteinExpressionDataHelper>();

            sut = new ProteinExpressionsPresenter(_view, _subPresenterManager, _dialogCreator, _proteinExpressionQueries, _mappingPresenter, _dataHelper);
        }
コード例 #22
0
 public EditParameterIdentificationPresenter(IEditParameterIdentificationView view,
                                             ISubPresenterItemManager <IParameterIdentificationItemPresenter> subPresenterItemManager,
                                             IOSPSuiteExecutionContext executionContext,
                                             ISimulationAnalysisPresenterFactory simulationAnalysisPresenterFactory,
                                             ISimulationAnalysisPresenterContextMenuFactory contextMenuFactory,
                                             IPresentationSettingsTask presentationSettingsTask,
                                             IParameterIdentificationAnalysisCreator simulationAnalysisCreator) :
     base(view, subPresenterItemManager, ParameterIdentificationItems.All, simulationAnalysisPresenterFactory, contextMenuFactory, presentationSettingsTask, simulationAnalysisCreator)
 {
     _executionContext = executionContext;
 }
コード例 #23
0
 public ScaleIndividualPresenter(IScaleIndividualView view, ISubPresenterItemManager <IIndividualItemPresenter> subPresenterItemManager, IDialogCreator dialogCreator,
                                 IIndividualExpressionsUpdater individualExpressionsUpdater, IObjectBaseDTOFactory objectBaseDTOFactory,
                                 IBuildingBlockPropertiesMapper propertiesMapper, ICloner cloner)
     : base(view, subPresenterItemManager, ScaleIndividualItems.All, dialogCreator)
 {
     _individualExpressionsUpdater = individualExpressionsUpdater;
     _objectBaseDTOFactory         = objectBaseDTOFactory;
     _propertiesMapper             = propertiesMapper;
     _cloner          = cloner;
     AllowQuickFinish = true;
 }
コード例 #24
0
        protected override void Context()
        {
            _subPresenterManager     = SubPresenterHelper.Create <ISettingsItemPresenter>();
            _userSettings            = _subPresenterManager.CreateFake(SettingsItems.UserGeneralSettings);
            _appSettings             = _subPresenterManager.CreateFake(SettingsItems.ApplicationSettings);
            _userDisplayUnitSettings = _subPresenterManager.CreateFake(SettingsItems.UserDisplayUnitsSettings);

            _dialogCreator = A.Fake <IDialogCreator>();
            _workspace     = A.Fake <ICoreWorkspace>();
            _view          = A.Fake <ISettingsView>();
            sut            = new SettingsPresenter(_view, _subPresenterManager, _dialogCreator, _workspace);
        }
コード例 #25
0
 protected override void Context()
 {
     _view = A.Fake <ICreateEventView>();
     _subPresenterManager = SubPresenterHelper.Create <IEventItemPresenter>();
     _dtoFactory          = A.Fake <IObjectBaseDTOFactory>();
     _eventFactory        = A.Fake <IEventFactory>();
     _propertiesMapper    = A.Fake <IBuildingBlockPropertiesMapper>();
     _dialogCreator       = A.Fake <IDialogCreator>();
     _eventSettings       = _subPresenterManager.CreateFake(EventItems.Settings);
     sut = new CreateEventPresenter(_view, _subPresenterManager, _dialogCreator, _dtoFactory, _eventFactory, _propertiesMapper);
     sut.Initialize();
 }
コード例 #26
0
 protected override void Context()
 {
     _view = A.Fake <IEditProtocolView>();
     _subPresenterManager       = SubPresenterHelper.Create <IProtocolItemPresenter>();
     _simpleProtocolPresenter   = _subPresenterManager.CreateFake(ProtocolItems.Simple);
     _advancedProtocolPresenter = _subPresenterManager.CreateFake(ProtocolItems.Advanced);
     _protocolChartPresenter    = A.Fake <IProtocolChartPresenter>();
     _schemaTask      = A.Fake <ISchemaTask>();
     _protocolUpdater = A.Fake <IProtocolUpdater>();
     _dialogCreator   = A.Fake <IDialogCreator>();
     sut = new EditProtocolPresenter(_view, _subPresenterManager, _protocolChartPresenter, _schemaTask, _protocolUpdater, _dialogCreator);
 }
コード例 #27
0
 protected ConfigureSimulationPresenterBase(TSimulationView view, ISubPresenterItemManager <ISimulationItemPresenter> subPresenterItemManager,
                                            ISimulationModelCreator simulationModelCreator, IHeavyWorkManager heavyWorkManager,
                                            ICloner cloner, IDialogCreator dialogCreator, ISimulationParametersUpdater simulationParametersUpdater, IFullPathDisplayResolver fullPathDisplayResolver, IBuildingBlockInSimulationSynchronizer buildingBlockInSimulationSynchronizer, CreationMode creationMode)
     : base(view, subPresenterItemManager, simulationModelCreator, heavyWorkManager, dialogCreator)
 {
     _cloner = cloner;
     _simulationParametersUpdater           = simulationParametersUpdater;
     _fullPathDisplayResolver               = fullPathDisplayResolver;
     _buildingBlockInSimulationSynchronizer = buildingBlockInSimulationSynchronizer;
     _creationMode    = creationMode;
     AllowQuickFinish = true;
 }
コード例 #28
0
 protected EditAnalyzablePresenter(TView view, ISubPresenterItemManager <TSubPresenter> subPresenterItemManager, IReadOnlyList <ISubPresenterItem> subPresenterItems,
                                   ISimulationAnalysisPresenterFactory simulationAnalysisPresenterFactory,
                                   ISimulationAnalysisPresenterContextMenuFactory contextMenuFactory,
                                   IPresentationSettingsTask presentationSettingsTask, ISimulationAnalysisCreator simulationAnalysisCreator)
     : base(view, subPresenterItemManager, subPresenterItems)
 {
     _simulationAnalysisPresenterFactory = simulationAnalysisPresenterFactory;
     _contextMenuFactory        = contextMenuFactory;
     _presentationSettingsTask  = presentationSettingsTask;
     _simulationAnalysisCreator = simulationAnalysisCreator;
     _settings = new TabbedPresenterSettings();
 }
コード例 #29
0
        public static T CreateFake <T, U>(this ISubPresenterItemManager <U> subPresenterManager, ISubPresenterItem <T> subPresenterItem)
            where U : ISubPresenter
            where T : class, U
        {
            var subPresenter = A.Fake <T>();

            A.CallTo(() => subPresenter.BaseView).Returns(A.Fake <IView>());
            A.CallTo(() => subPresenterManager.PresenterAt(subPresenterItem)).Returns(subPresenter);
            A.CallTo(() => subPresenterManager.PresenterAt((ISubPresenterItem <U>)subPresenterItem)).Returns(subPresenter);
            var list = (List <U>)subPresenterManager.AllSubPresenters;

            list.Add(subPresenter);
            return(subPresenter);
        }
コード例 #30
0
        public CreateObserverSetPresenter(
            ICreateObserverSetView view,
            ISubPresenterItemManager <IObserverSetItemPresenter> subPresenterItemManager,
            IDialogCreator dialogCreator,
            IObjectBaseDTOFactory buildingBlockDTOFactory,
            IBuildingBlockPropertiesMapper propertiesMapper,
            IObserverSetFactory observerSetFactory

            ) : base(view, subPresenterItemManager, ObserverSetItems.All, dialogCreator)
        {
            _buildingBlockDTOFactory = buildingBlockDTOFactory;
            _propertiesMapper        = propertiesMapper;
            _observerSetFactory      = observerSetFactory;
        }