Skip to content

Commit 3ddab5f

Browse files
Added additional comment
1 parent 6408aaa commit 3ddab5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/ClientCapabilityProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public bool HasStaticHandler<T>(Supports<T> capability)
2323
{
2424
// Dynamic registration will cause us to double register things if we report our capabilities staticly.
2525
// However if the client does not tell us it's capabilities we should just assume that they do not support
26-
// dynamic registraiton
26+
// dynamic registraiton but we should report any capabilities statically
2727
if (capability.IsSupported && capability.Value != null && capability.Value.DynamicRegistration == true) return false;
2828

2929
var handlerTypes = typeof(T).GetTypeInfo().ImplementedInterfaces

0 commit comments

Comments
 (0)