Exemple #1
0
 public static TService GetService <TService>([NotNull] this IInfrastructure <IServiceProvider> accessor)
     where TService : class
 => InfrastructureExtensions.GetService <TService>(Check.NotNull(accessor, nameof(accessor)));
 public static TService GetService <TService>(this IInfrastructure <IServiceProvider> accessor)
     where TService : class
 => InfrastructureExtensions.GetService <TService>(accessor);