/// <summary> /// Initializes a new instance of the <see cref="AutofacServiceScope"/> class. /// </summary> /// <param name="lifetimeScope"> /// The lifetime scope from which services should be resolved for this service scope. /// </param> public AutofacServiceScope(ILifetimeScope lifetimeScope) { this._serviceProvider = new AutofacServiceProvider(lifetimeScope); }