public ImplicitStreamSubscriberTable(
            GrainBindingsResolver bindings,
            IEnumerable <IStreamNamespacePredicateProvider> providers)
        {
            _bindings = bindings;
            var initialBindings = bindings.GetAllBindings();

            _providers = providers.ToArray();
            _cache     = BuildCache(initialBindings.Version, initialBindings.Bindings);
        }
예제 #2
0
        public ImplicitChannelSubscriberTable(
            GrainBindingsResolver bindings,
            IEnumerable <IChannelNamespacePredicateProvider> providers,
            IServiceProvider serviceProvider)
        {
            _bindings = bindings;
            var initialBindings = bindings.GetAllBindings();

            _providers       = providers.ToArray();
            _serviceProvider = serviceProvider;
            _cache           = BuildCache(initialBindings.Version, initialBindings.Bindings);
        }