Table of Contents

Class ResiliencePipelineExtensions

Namespace
Polly.Testing
Assembly
Polly.Testing.dll

The test-related extensions for ResiliencePipeline and ResiliencePipeline<T>.

public static class ResiliencePipelineExtensions
Inheritance
ResiliencePipelineExtensions
Inherited Members

Methods

GetPipelineDescriptor(ResiliencePipeline)

Gets the pipeline descriptor.

public static ResiliencePipelineDescriptor GetPipelineDescriptor(this ResiliencePipeline pipeline)

Parameters

pipeline ResiliencePipeline

The pipeline instance.

Returns

ResiliencePipelineDescriptor

A pipeline descriptor.

Exceptions

ArgumentNullException

Thrown when pipeline is null.

GetPipelineDescriptor<TResult>(ResiliencePipeline<TResult>)

Gets the pipeline descriptor.

public static ResiliencePipelineDescriptor GetPipelineDescriptor<TResult>(this ResiliencePipeline<TResult> pipeline)

Parameters

pipeline ResiliencePipeline<TResult>

The pipeline instance.

Returns

ResiliencePipelineDescriptor

A pipeline descriptor.

Type Parameters

TResult

The type of result.

Exceptions

ArgumentNullException

Thrown when pipeline is null.