Skip to content

Commit e7f7c05

Browse files
fix comments
1 parent 3e6dfa9 commit e7f7c05

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/Ninject.Web.AspNetCore/RequestActivation/KeyedRequest.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@
1010

1111
namespace Ninject.Web.AspNetCore.RequestActivation
1212
{
13+
/// <summary>
14+
/// Use a specific request class for keyed requests so that we can get the ServiceKey in the <see cref="AnyBindingResolver"/> class.
15+
/// Additionally, handle the ServiceKey parameter as well as allow to add additional constraints during resolution required for
16+
/// FromKeyedServices attribute handling.
17+
/// </summary>
1318
public class KeyedRequest : IRequest
1419
{
1520
/// <summary>
16-
/// Initializes a new instance of the <see cref="Request"/> class.
21+
/// Initializes a new instance of the <see cref="KeyedRequest"/> class.
1722
/// </summary>
1823
/// <param name="service">The service that was requested.</param>
1924
/// <param name="constraint">The constraint that will be applied to filter the bindings used for the request.</param>
@@ -38,7 +43,7 @@ public KeyedRequest(Type service, object serviceKey, Func<IBindingMetadata, bool
3843
}
3944

4045
/// <summary>
41-
/// Initializes a new instance of the <see cref="Request"/> class.
46+
/// Initializes a new instance of the <see cref="KeyedRequest"/> class.
4247
/// </summary>
4348
/// <param name="parentContext">The parent context.</param>
4449
/// <param name="service">The service that was requested.</param>

0 commit comments

Comments
 (0)