/// <summary>
 ///     Get service from execution scope service provider
 /// </summary>
 /// <typeparam name="TService"></typeparam>
 /// <param name="context"></param>
 /// <returns></returns>
 public static TService Use <TService>(this IResolverContext context)
 {
     return(context.ContextExtension <IServiceScope>()
            .ServiceProvider
            .GetRequiredService <TService>());
 }