/// <summary>
        ///
        /// </summary>
        /// <param name="busBuilder"></param>
        /// <param name="serviceProvider"></param>
        /// <param name="serviceDescriptors">ServiceCollection should be passed in</param>
        /// <returns></returns>
        public static BusBuilder UseMicrosoftDependencyInjection(this BusBuilder busBuilder, IServiceProvider serviceProvider, IEnumerable <ServiceDescriptor> serviceDescriptors)
        {
            var dependencyInjection = new MicrosoftDependencyInjectionDependencyResolver(serviceProvider, serviceDescriptors);

            return(busBuilder
                   .UseDependencyResolver(dependencyInjection));
        }
        public static BusBuilder UseMicrosoftDependencyInjection(this BusBuilder busBuilder, IServiceProvider serviceProvider)
        {
            var dependencyInjection = new MicrosoftDependencyInjectionDependencyResolver(serviceProvider);

            return(busBuilder
                   .UseDependencyResolver(dependencyInjection));
        }