private void Construct(IAciEventManager eventBroker , IWorkflowService workflowService , ISceneItemRegistry registry , IAdaptivityService adaptivityService) { m_EventBroker = eventBroker; m_ItemRegistry = registry; m_WorkflowService = workflowService; m_AdaptivityService = adaptivityService; RegisterForEvents(); }
private void Construct(IConfigProvider configProvider, INetworkPublisher publisher, IWorkflowService workflowService, SceneItem.Factory sceneItemFactory, ISceneItemRegistry itemRegistry) { m_ConfigProvider = configProvider; m_INetworkPublisher = publisher; m_WorkflowService = workflowService; m_SceneItemFactory = sceneItemFactory; m_ItemRegistry = itemRegistry; m_ConfigProvider?.RegisterClient(this); //write default values to config if no config values were loaded if (workflowDirectory.IsNullOrEmpty()) { m_ConfigProvider?.ClientDirty(this); } }
private void Construct(IConfigProvider configProvider, ISceneItemRegistry sceneItemRegistry, StepItem.Factory stepItemFactory, WorkflowData.Factory workflowDataFactory) { m_ConfigProvider = configProvider; m_SceneItemRegistry = sceneItemRegistry; m_StepFactory = stepItemFactory; m_WorkflowDataFactory = workflowDataFactory; m_ConfigProvider?.RegisterClient(this); //write default values to config if no config values were loaded if (workflowDirectory.IsNullOrEmpty()) { m_ConfigProvider?.ClientDirty(this); } m_SceneItemRegistry.itemAdded.AddListener(OnSceneItemRegistered); m_SceneItemRegistry.itemRemoved.AddListener(OnSceneItemRemoved); }
private void Construct(ISceneItemRegistry registry) { m_ItemRegistry = registry; }
private void Construct(IInstantiator instantiator, SceneItemTemplateDataStorage storage, ISceneItemRegistry registry) { m_Instantiator = instantiator; m_TemplateStorage = storage; m_SceneItemRegistry = registry; }
private void Construct(IIdentifiable <Guid> identifiable, ISceneItemRegistry itemRegistry) { m_Identifiable = identifiable; m_ItemRegistry = itemRegistry; m_ItemRegistry.itemRemoved.AddListener(OnItemRemoved); }