예제 #1
0
 public AutoReloadApp(
     IViewProvider viewProvider,
     IContentProvider contentProvider,
     ILuaProvider luaProvider)
 {
     RegisterKernel(new UIKernel(viewProvider, contentProvider, luaProvider));
 }
예제 #2
0
파일: UIKernel.cs 프로젝트: pandey623/ReUI
        public UIKernel(IViewProvider viewProvider, IContentProvider contentProvider, ILuaProvider luaProvider)
        {
            _viewProvider    = viewProvider;
            _contentProvider = contentProvider;
            _luaProvider     = luaProvider;

            PoolInterfaces = new IPool[]
            {
                new UIPool(),
            };
        }
예제 #3
0
 public void SetPool(Pool <IUIPool> typedPool)
 {
     _uipool = typedPool;
     _lua    = _uipool.Get <LuaProvider>().Value;
 }
예제 #4
0
 public void Initialize()
 {
     _luaProvider = _uiPool.Get <LuaProvider>().Value;
 }
예제 #5
0
 public void SetPool(Pool <IUIPool> pool)
 {
     _uiPool  = pool;
     _luaPool = _uiPool.Get <LuaProvider>().Value;
 }
예제 #6
0
 public InitializeDependencySingletons(IContentProvider contentProvider, IViewProvider viewProvider, ILuaProvider luaProvider)
 {
     _contentProvider = contentProvider;
     _viewProvider    = viewProvider;
     _luaProvider     = luaProvider;
 }