Skip to content

Commit

Permalink
Return ISiloBuilder from UseGenericStorageInterceptor<T> (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElanHasson authored Sep 20, 2022
1 parent ccb328b commit 170ebea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static class GenericStorageInterceptorExtensions
/// <param name="storageName"></param>
/// <param name="stateName"></param>
/// <param name="options"></param>
public static void UseGenericStorageInterceptor<TState>(this ISiloBuilder builder, string storageName, string stateName, Action<StorageInterceptorOptions<TState>> options) => builder.ConfigureServices(services =>
public static ISiloBuilder UseGenericStorageInterceptor<TState>(this ISiloBuilder builder, string storageName, string stateName, Action<StorageInterceptorOptions<TState>> options) => builder.ConfigureServices(services =>
{
var opts = new StorageInterceptorOptions<TState>();
options.Invoke(opts);
Expand Down

0 comments on commit 170ebea

Please sign in to comment.