/// <inheritDoc />
        private static Func <IContext, IProvider> CreateDependencyServiceProvider(Type targetType)
        {
            var provider = new DependencyServiceProvider(targetType);

            return(ctx => provider);
        }
 /// <inheritDoc />
 private static Func<IContext, IProvider> CreateDependencyServiceProvider(Type targetType)
 {
     var provider = new DependencyServiceProvider(targetType);
     return ctx => provider;
 }