示例#1
0
        /// <summary>
        ///     Gets the constructor.
        /// </summary>
        /// <param name="type">The type.</param>
        /// <returns></returns>
        public ConstructorInfo GetConstructor(Type type)
        {
            if (!_typesRepository.Exist(type))
            {
                _typesRepository.Add(type);
            }

            return(_typesRepository.GetConstructor(type));
        }