dotnet/orleans

Extending AddGrainCallFilter to define interface to intercept.

Open

#3,480 opened on Oct 2, 2017

View on GitHub
 (4 comments) (1 reaction) (1 assignee)C# (2,123 forks)batch import
area-grainsenhancementhelp wanted

Repository metrics

Stars
 (10,777 stars)
PR merge metrics
 (Avg merge 2d 2h) (64 merged PRs in 30d)

Description

Would it be possible to extend AddGrainCallFilter so that along with the IGrainCallFilter one could also specify the interface to intercept. Something akin to.

        public IServiceProvider ConfigureServices(IServiceCollection services)
        {
            services.AddGrainCallFilter<InterfaceToIntercept, IGrainFilterImplementation>();
            return services.BuildServiceProvider();
        }

Ron Milne.

Contributor guide