namespace Microsoft.Extensions.DependencyInjection.Extensions {
public static class ServiceCollectionDescriptorExtensions {
public static void TryAddScoped(this IServiceCollection collection, Type service);
public static void TryAddScoped(this IServiceCollection collection, Type service, Type implementationType);
public static void TryAddSingleton(this IServiceCollection collection, Type service);
public static void TryAddSingleton(this IServiceCollection collection, Type service, Type implementationType);
public static void TryAddTransient(this IServiceCollection collection, Type service);
public static void TryAddTransient(this IServiceCollection collection, Type service, Type implementationType);
}
}