private void Construct(IAciEventManager eventManager
                           , INetworkPublisher publisher
                           , IWorkflowService workflowService)
    {
        m_EventManager    = eventManager;
        m_Publisher       = publisher;
        m_WorkflowService = workflowService;

        RegisterForEvents();
    }
예제 #2
0
        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);
            }
        }
예제 #3
0
 public void Construct(INetworkPublisher publisher, ILogger logger)
 {
     m_DefaultLogger = logger;
     m_NetPublisher  = publisher;
     m_Instance      = this;
 }
예제 #4
0
 public void Construct(INetworkPublisher publisher, NetworkSubscriber subscriber)
 {
     m_Publisher = publisher;
 }