@@ -33,27 +33,24 @@ public static class IHealthChecksBuilderExtensions
3333 /// <param name="fullyQualifiedTypeName">Fully qualified type name of the service to use.</param>
3434 /// <returns>Instance of <see cref="IHealthChecksBuilder"/>.</returns>
3535 /// <exception cref="ConfigurationException"></exception>
36- public static IHealthChecksBuilder AddMOnaiDeployStorageHealthCheck (
36+ public static IHealthChecksBuilder AddMonaiDeployStorageHealthCheck (
3737 this IHealthChecksBuilder builder ,
38- IServiceProvider serviceProvider ,
3938 string fullyQualifiedTypeName ,
4039 HealthStatus ? failureStatus = null ,
4140 IEnumerable < string > ? tags = null ,
4241 TimeSpan ? timeout = null )
43- => AddMOnaiDeployStorageHealthCheck ( builder , serviceProvider , fullyQualifiedTypeName , new FileSystem ( ) , failureStatus , tags , timeout ) ;
42+ => AddMonaiDeployStorageHealthCheck ( builder , fullyQualifiedTypeName , new FileSystem ( ) , failureStatus , tags , timeout ) ;
4443
4544 /// <summary>
4645 /// Configures health check for the MONAI Deploy Storage Service.
4746 /// </summary>
4847 /// <param name="builder">Instance of <see cref="IHealthChecksBuilder"/>.</param>
49- /// <param name="serviceProvider">Instance of <see cref="IServiceProvider"/>.</param>
5048 /// <param name="fullyQualifiedTypeName">Fully qualified type name of the service to use.</param>
5149 /// <param name="fileSystem">Instance of <see cref="IFileSystem"/>.</param>
5250 /// <returns>Instance of <see cref="IHealthChecksBuilder"/>.</returns>
5351 /// <exception cref="ConfigurationException"></exception>
54- public static IHealthChecksBuilder AddMOnaiDeployStorageHealthCheck (
52+ public static IHealthChecksBuilder AddMonaiDeployStorageHealthCheck (
5553 this IHealthChecksBuilder builder ,
56- IServiceProvider serviceProvider ,
5754 string fullyQualifiedTypeName ,
5855 IFileSystem fileSystem ,
5956 HealthStatus ? failureStatus = null ,
@@ -83,7 +80,7 @@ public static IHealthChecksBuilder AddMOnaiDeployStorageHealthCheck(
8380 throw new ConfigurationException ( $ "The configured type '{ fullyQualifiedTypeName } ' does not implement the { typeof ( IStorageService ) . Name } interface.") ;
8481 }
8582
86- healthCheckBuilder . Configure ( builder , serviceProvider , failureStatus , tags , timeout ) ;
83+ healthCheckBuilder . Configure ( builder , failureStatus , tags , timeout ) ;
8784
8885 AppDomain . CurrentDomain . AssemblyResolve -= resolveEventHandler ;
8986 return builder ;
0 commit comments