CompositeStrategyBuilder<TResult>
A builder that is used to create an instance of ResilienceStrategy<T>.
using System.Runtime.CompilerServices;
namespace Polly
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class CompositeStrategyBuilder<[System.Runtime.CompilerServices.Nullable(2)] TResult> : CompositeStrategyBuilderBase
{
public CompositeStrategyBuilder()
{
}
internal CompositeStrategyBuilder(CompositeStrategyBuilderBase other)
: base(other)
{
}
public ResilienceStrategy<TResult> Build()
{
return new ResilienceStrategy<TResult>(BuildStrategy());
}
}
}