/// <summary> /// Initializes a new instance of the <see cref="NamedPolicy"/> class. /// </summary> /// <param name="name">Name of the policy.</param> /// <param name="underlyingPolicy">The underlying <see cref="Polly.ISyncPolicy"/>.</param> public NamedPolicy(string name, Polly.ISyncPolicy underlyingPolicy) : base(underlyingPolicy) { Name = name; }
/// <summary> /// Initializes a new instance of the <see cref="PolicyFor{T}"/> class. /// </summary> /// <param name="underlyingPolicy">The underlying <see cref="Polly.ISyncPolicy"/>.</param> public PolicyFor(Polly.ISyncPolicy underlyingPolicy) : base(underlyingPolicy) { }
/// <summary> /// Initializes a new instance of the <see cref="Policy"/> class. /// </summary> /// <param name="underlyingPolicy">The underlying <see cref="Polly.ISyncPolicy"/>.</param> public Policy(Polly.ISyncPolicy underlyingPolicy) { UnderlyingPolicy = underlyingPolicy; }