<PackageReference Include="Polly.Core" Version="8.2.0" />

ExternalComponent

using System; using System.Diagnostics; using System.Runtime.CompilerServices; using System.Threading.Tasks; namespace Polly.Utils.Pipeline { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] [DebuggerDisplay("{Component}")] internal class ExternalComponent : PipelineComponent { internal PipelineComponent Component { get; } public ExternalComponent(PipelineComponent component) { Component = component; } [return: System.Runtime.CompilerServices.Nullable(new byte[] { 0, 0, 1 })] internal override ValueTask<Outcome<TResult>> ExecuteCore<[System.Runtime.CompilerServices.Nullable(2)] TResult, [System.Runtime.CompilerServices.Nullable(2)] TState>([System.Runtime.CompilerServices.Nullable(new byte[] { 1, 1, 1, 0, 0, 1 })] Func<ResilienceContext, TState, ValueTask<Outcome<TResult>>> callback, ResilienceContext context, TState state) { return Component.ExecuteCore(callback, context, state); } public override ValueTask DisposeAsync() { return default(ValueTask); } } }