예제 #1
0
        /// <summary>
        /// Построение объекта
        /// <param name="T">Тип</param>
        /// <param name="name">register name</param>
        /// </summary>
        protected virtual T Resolve <T>(string name)
        {
            var current = CurrentServiceToken;

            return(ObjectFactoryBase.ResolveByName <T>(current == null ?
                                                       "Default" :
                                                       current.DependencyContainerName, name));
        }