Exemple #1
0
        /// <summary>
        /// Builds http service.
        /// </summary>
        /// <typeparam name="TService">Type of http service.</typeparam>
        /// <returns>New instance of http service.</returns>
        public TService BuildService <TService>()
            where TService : class
        {
            var serviceInstance = _typeBuilder.GetInstance <TService>();

            return(serviceInstance);
        }