예제 #1
0
 public Hooks(IObjectContainer container,
              SessionConfiguration sessionConfig,
              ZukiniUIConfiguration zukiniConfig)
 {
     _objectContainer      = container;
     _sessionConfiguration = sessionConfig;
     _zukiniConfiguration  = zukiniConfig;
 }
예제 #2
0
파일: Hooks.cs 프로젝트: raveeolee/Zukini
        public Hooks(IObjectContainer container,
                     SessionConfiguration sessionConfig,
                     ZukiniUIConfiguration zukiniConfig)
        {
            _objectContainer      = container;
            _sessionConfiguration = sessionConfig;
            _zukiniConfiguration  = zukiniConfig;

            // View factory binding
            _objectContainer.RegisterInstanceAs <IViewFactory>(new ViewFactory(_objectContainer));
        }