예제 #1
0
        private void ThreadProcedure(object o)
        {
            ThreadInformation info = o as ThreadInformation;

            try
            {
                info.SetThreadResult(Thread.CurrentThread, info.Container.ResolveAsync <IService>());
            }
            catch (System.Exception ex)
            {
                info.SetThreadResult(Thread.CurrentThread, ex);
            }
        }
예제 #2
0
        private void ThreadProcedure(object o)
        {
            ThreadInformation info = o as ThreadInformation;

            info.SetThreadResult(Thread.CurrentThread, info.Container.Resolve <IService>());
        }