protected virtual void Dispose(bool disposing) { if (disposing) { loggerFactory.Dispose(); } }
async Task AsyncOnStop() { if (endpointInstance != null) { await endpointInstance.Stop(); } loggerFactory?.Dispose(); }
async Task AsyncOnStop() { if (endpointInstance != null) { await endpointInstance.Stop() .ConfigureAwait(false); } loggerFactory?.Dispose(); }
public void Dispose() { loggerFactory?.Dispose(); }
/// <inheritdoc /> public void Dispose() { _factory.Dispose(); }