@@ -29,7 +29,7 @@ internal static IContainer AddLanguageClientInternals(this IContainer container,
29
29
nonPublicServiceTypes : true ,
30
30
ifAlreadyRegistered : IfAlreadyRegistered . Keep
31
31
) ;
32
- if ( ! EqualityComparer < OnUnhandledExceptionHandler ? > . Default . Equals ( options . OnUnhandledException , default ) )
32
+ if ( ! EqualityComparer < OnUnhandledExceptionHandler ? > . Default . Equals ( options . OnUnhandledException , default ) )
33
33
{
34
34
container . RegisterInstance ( options . OnUnhandledException ) ;
35
35
}
@@ -80,7 +80,7 @@ internal static IContainer AddLanguageClientInternals(this IContainer container,
80
80
81
81
if ( providedConfiguration != null )
82
82
{
83
- builder . CustomAddConfiguration ( ( providedConfiguration . ImplementationInstance as IConfiguration ) ! ) ;
83
+ builder . CustomAddConfiguration ( ( providedConfiguration . ImplementationInstance as IConfiguration ) ! ) ;
84
84
}
85
85
86
86
//var didChangeConfigurationProvider = _.GetRequiredService<DidChangeConfigurationProvider>();
@@ -93,7 +93,7 @@ internal static IContainer AddLanguageClientInternals(this IContainer container,
93
93
94
94
container . RegisterMany < LanguageClientWorkDoneManager > ( Reuse . Singleton ) ;
95
95
container . RegisterMany < LanguageClientWorkspaceFoldersManager > (
96
- serviceTypeCondition : type => options . WorkspaceFolders || type != typeof ( IJsonRpcHandler ) , reuse : Reuse . Singleton
96
+ serviceTypeCondition : type => options . WorkspaceFolders || type != typeof ( IJsonRpcHandler ) , reuse : Reuse . Singleton
97
97
) ;
98
98
container . RegisterMany < LanguageClientRegistrationManager > (
99
99
serviceTypeCondition : type => options . DynamicRegistration || type != typeof ( IJsonRpcHandler ) , reuse : Reuse . Singleton
0 commit comments