/// <summary>
        /// Uses the <see cref="GetInstanceWithEmptyConfigurationAndDefaultLogging{T}(ServiceProviderHelper, Action{IServiceCollection})"/> method.
        /// Note: adds the <typeparamref name="T"/> as a <see cref="ServiceLifetime.Singleton"/>.
        /// </summary>
        public static T GetInstance <T>(this ServiceProviderHelper serviceProviderHelper)
            where T : class
        {
            var instance = serviceProviderHelper.GetInstanceWithEmptyConfigurationAndDefaultLogging <T>(services =>
            {
                services.AddSingleton <T>();
            });

            return(instance);
        }