/// <summary>
        /// Done
        /// </summary>
        /// <param name="services"></param>
        /// <returns></returns>
        /// <exception cref="ArgumentNullException"></exception>
        public static IServiceContext Done(this II18NServiceCollection services)
        {
            using var register = services.Done <AspectCoreProxyRegister, IServiceContext>();

            return(register.RawServices);
        }
        /// <summary>
        /// Done
        /// </summary>
        /// <param name="services"></param>
        /// <returns></returns>
        /// <exception cref="ArgumentNullException"></exception>
        public static ContainerBuilder Done(this II18NServiceCollection services)
        {
            using var register = services.Done <AutofacProxyRegister, ContainerBuilder>();

            return(register.RawServices);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Done
        /// </summary>
        /// <param name="services"></param>
        /// <returns></returns>
        /// <exception cref="ArgumentNullException"></exception>
        public static IServiceCollection Done(this II18NServiceCollection services)
        {
            using var register = services.Done <MicrosoftProxyRegister, IServiceCollection>();

            return(register.RawServices);
        }