Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
<PackageVersion Include="xunit.runner.visualstudio" Version="3.1.3" />
<PackageVersion Include="System.Reactive" Version="6.0.1" />
<PackageVersion Include="Microsoft.SourceLink.GitHub" Version="8.0.0" />
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="9.0.5" />
<PackageVersion Include="Microsoft.Extensions.Http.Polly" Version="9.0.7" />
<PackageVersion Include="Polly.Contrib.WaitAndRetry" Version="1.1.1" />
<PackageVersion Include="Meziantou.Analyzer" Version="2.0.201" />
<PackageVersion Include="Meziantou.Analyzer" Version="2.0.210" />
<PackageVersion Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.14.15" />
<PackageVersion Include="Roslynator.Analyzers" Version="4.13.1" />
<PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.13.1" />
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.13.1" />
<PackageVersion Include="Roslynator.Analyzers" Version="4.14.0" />
<PackageVersion Include="Roslynator.CodeAnalysis.Analyzers" Version="4.14.0" />
<PackageVersion Include="Roslynator.Formatting.Analyzers" Version="4.14.0" />
<PackageVersion Include="StyleCop.Analyzers.Unstable" Version="1.2.0.556" />
<PackageVersion Include="coverlet.msbuild" Version="6.0.4" />
<PackageVersion Include="NSubstitute" Version="5.3.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Testing.HttpMocking.HttpMessageHandlers.Response
/// <summary>
/// Represents a mock of an <see cref="HttpResponseMessage"/>.
/// </summary>
public class HttpResponseMessageMock
public sealed class HttpResponseMessageMock
{
private readonly HttpResponseMessageMockPredicateDelegate _predicate;
private readonly HttpResponseMessageMockHandlerDelegate _handler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Testing.HttpMocking.InProcess;
/// <summary>
/// Provides methods to mock an <see cref="HttpResponseMessage"/>.
/// </summary>
public class HttpMessageHandlersReplacer
public sealed class HttpMessageHandlersReplacer
{
private readonly IServiceCollection _services;
private readonly List<HttpResponseMessageMockDescriptorBuilder> _httpResponseMockBuilders;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Testing.HttpMocking.OutOfProcess;
/// <summary>
/// Provides methods to configure and create an <see cref="HttpMockServer"/> when based on a request/response mocking.
/// </summary>
public class ResponseBasedBuilder
public sealed class ResponseBasedBuilder
{
private readonly HttpMockServerArgs _mockServerArgs;
private readonly List<HttpResponseMock> _httpResponseMocks = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Testing.HttpMocking.OutOfProcess.ResponseMocking
/// <summary>
/// Represents the mock for an <see cref="HttpResponse"/>.
/// </summary>
public class HttpResponseMock
public sealed class HttpResponseMock
{
private readonly HttpResponseMockPredicateAsyncDelegate _predicateAsync;
private readonly HttpResponseMockHandlerAsyncDelegate _handlerAsync;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace DotNet.Sdk.Extensions.Testing.HttpMocking.OutOfProcess;
/// Provides methods to configure and create an <see cref="HttpMockServer"/> when based on a Startup class.
/// </summary>
/// <typeparam name="T">The <see cref="Type"/> of the Startup class.</typeparam>
public class StartupBasedBuilder<T>
public sealed class StartupBasedBuilder<T>
where T : class
{
private readonly HttpMockServerArgs _mockServerArgs;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Polly.Http.CircuitBreaker.Events;
/// <summary>
/// Contains the event data when the circuit transitions to an <see cref="CircuitState.Open"/> state.
/// </summary>
public class BreakEvent
public sealed class BreakEvent
{
internal BreakEvent(
string httpClientName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Polly.Http.CircuitBreaker.Events;
/// <summary>
/// Contains the event data when the circuit transitions to <see cref="CircuitState.HalfOpen"/> state, ready to try action executions again.
/// </summary>
public class HalfOpenEvent
public sealed class HalfOpenEvent
{
internal HalfOpenEvent(string httpClientName, CircuitBreakerOptions circuitBreakerOptions)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Polly.Http.CircuitBreaker.Events;
/// <summary>
/// Contains the event data when the circuit resets to a <see cref="CircuitState.Closed"/> state.
/// </summary>
public class ResetEvent
public sealed class ResetEvent
{
internal ResetEvent(
string httpClientName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Polly.Http.Fallback.Events;
/// <summary>
/// Contains the event data when a fallback <see cref="HttpResponseMessage"/> is returned via Polly's fallback policy.
/// </summary>
public class FallbackEvent
public sealed class FallbackEvent
{
internal FallbackEvent(
string httpClientName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Polly.Http.Retry.Events;
/// <summary>
/// Contains the event data when a retry is triggered via Polly's timeout policy.
/// </summary>
public class RetryEvent
public sealed class RetryEvent
{
internal RetryEvent(
string httpClientName,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ namespace DotNet.Sdk.Extensions.Polly.Http.Timeout.Events;
/// <summary>
/// Contains the event data when a timeout is triggered via Polly's timeout policy.
/// </summary>
public class TimeoutEvent
public sealed class TimeoutEvent
{
internal TimeoutEvent(
string httpClientName,
Expand Down
Loading