From 170ebea164932cd3b20f96a2142a044d9e72ed15 Mon Sep 17 00:00:00 2001 From: Elan Hasson <234704+ElanHasson@users.noreply.github.com> Date: Tue, 20 Sep 2022 01:23:01 -0400 Subject: [PATCH] Return `ISiloBuilder` from `UseGenericStorageInterceptor` (#20) --- .../Interceptors/GenericStorageInterceptorExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Orleans.StorageProviderInterceptors/Interceptors/GenericStorageInterceptorExtensions.cs b/Source/Orleans.StorageProviderInterceptors/Interceptors/GenericStorageInterceptorExtensions.cs index 1dd1e0a..2c8a6ab 100644 --- a/Source/Orleans.StorageProviderInterceptors/Interceptors/GenericStorageInterceptorExtensions.cs +++ b/Source/Orleans.StorageProviderInterceptors/Interceptors/GenericStorageInterceptorExtensions.cs @@ -14,7 +14,7 @@ public static class GenericStorageInterceptorExtensions /// /// /// - public static void UseGenericStorageInterceptor(this ISiloBuilder builder, string storageName, string stateName, Action> options) => builder.ConfigureServices(services => + public static ISiloBuilder UseGenericStorageInterceptor(this ISiloBuilder builder, string storageName, string stateName, Action> options) => builder.ConfigureServices(services => { var opts = new StorageInterceptorOptions(); options.Invoke(opts);