Example #1
0
        T ForgeAPI.Interface.IFactory.CreateInputs <T>(ForgeAPI.Interface.Authentication.IToken token)
        {
            T item;

            item = m_Scope.Resolve <T>();
            item.AuthenticationToken = token;

            return(item);
        }
Example #2
0
        T ForgeAPI.Interface.IFactory.CreateInputs <T>(ForgeAPI.Interface.Authentication.IToken token)
        {
            T item;

            item = m_ServiceProvider.GetService <T>();
            item.AuthenticationToken = token;

            return(item);
        }
        public void Start(
            Window parent,
            ForgeAPI.Interface.Authentication.IToken authToken,
            IContainer ioc)
        {
            m_AuthenticationToken = authToken;
            m_IoC = ioc;

            ThreadPool.QueueUserWorkItem(new WaitCallback(DoLoad));

            Owner = parent;
            ShowDialog();
        }