Skip to content

Commit 170ebea

Browse files
authored
Return ISiloBuilder from UseGenericStorageInterceptor<T> (#20)
1 parent ccb328b commit 170ebea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Orleans.StorageProviderInterceptors/Interceptors/GenericStorageInterceptorExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class GenericStorageInterceptorExtensions
1414
/// <param name="storageName"></param>
1515
/// <param name="stateName"></param>
1616
/// <param name="options"></param>
17-
public static void UseGenericStorageInterceptor<TState>(this ISiloBuilder builder, string storageName, string stateName, Action<StorageInterceptorOptions<TState>> options) => builder.ConfigureServices(services =>
17+
public static ISiloBuilder UseGenericStorageInterceptor<TState>(this ISiloBuilder builder, string storageName, string stateName, Action<StorageInterceptorOptions<TState>> options) => builder.ConfigureServices(services =>
1818
{
1919
var opts = new StorageInterceptorOptions<TState>();
2020
options.Invoke(opts);

0 commit comments

Comments
 (0)