Beispiel #1
0
        public void CreateScope(Action <IClientScopeBuilder> scopeBuilderAction)
        {
            ClientBCFScopeBuilder scopeBuilder = new ClientBCFScopeBuilder(services);

            scopeBuilderAction(scopeBuilder);
            childScopeBuilders.Add(scopeBuilder);
        }
Beispiel #2
0
        public ClientBCFOptionsBuilder(IServiceCollection services)
        {
            this.services = services;

            globalScopeBuilder = new ClientBCFScopeBuilder(services);
        }