Skip to content

Commit

Permalink
Support for Value Types delegate registration
Browse files Browse the repository at this point in the history
  • Loading branch information
slimshader committed May 22, 2023
1 parent af7bd4e commit 8d8c167
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public static RegistrationBuilder Register<TInterface>(
this IContainerBuilder builder,
Func<IObjectResolver, TInterface> implementationConfiguration,
Lifetime lifetime)
where TInterface : class
=> builder.Register(new FuncRegistrationBuilder(implementationConfiguration, typeof(TInterface), lifetime));

[MethodImpl(MethodImplOptions.AggressiveInlining)]
Expand Down

0 comments on commit 8d8c167

Please sign in to comment.