Exemplo n.º 1
0
        public static IClientBuilder InstallCloudClientType(this IClientBuilder servBuilder)
        {
            servBuilder.ContainerBuilder(p =>
            {
                p.RegisterType <AsyncSend>().As <ISend>();
                p.RegisterType <ModuleDictionary>().As <IModuleDictionary>().SingleInstance();
                p.RegisterType <CloudClient>().SingleInstance();
            });

            return(servBuilder);
        }