/// <summary> /// Deletes all imposters from mountebank. Will also remove the imposter from the collection /// of imposters that the client maintains. /// </summary> public async Task DeleteAllImpostersAsync() { await _requestProxy.DeleteAllImpostersAsync().ConfigureAwait(false); Imposters = new List <Imposter>(); }
/// <summary> /// Deletes all imposters from mountebank. Will also remove the imposter from the collection /// of imposters that the client maintains. /// </summary> public async Task DeleteAllImpostersAsync(CancellationToken cancellationToken = default) { await _requestProxy.DeleteAllImpostersAsync(cancellationToken).ConfigureAwait(false); Imposters = new List <Imposter>(); }