Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Mar 26, 2023
1 parent 642a2df commit 39ea89e
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/Polly.Core/Builder/ResilienceStrategyBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,16 +111,5 @@ private ResilienceStrategy CreateResilienceStrategy(Entry entry)
return entry.Factory(context);
}

private sealed class Entry
{
public Entry(Func<ResilienceStrategyBuilderContext, ResilienceStrategy> factory, ResilienceStrategyOptions properties)
{
Factory = factory;
Properties = properties;
}

public Func<ResilienceStrategyBuilderContext, ResilienceStrategy> Factory { get; }

public ResilienceStrategyOptions Properties { get; }
}
private sealed record Entry(Func<ResilienceStrategyBuilderContext, ResilienceStrategy> Factory, ResilienceStrategyOptions Properties);
}

0 comments on commit 39ea89e

Please sign in to comment.