C# Class Polly.Utilities.SemaphoreSlimFactory

A factory class for the different implementations of SemaphoreSlim used by Polly.
Mostra file Open project: App-vNext/Polly

Public Methods

Method Description
CreateSemaphoreSlim ( int maxParallelization ) : Nito.AsyncEx.AsyncSemaphore

Creates the semaphore slim.

Method Details

CreateSemaphoreSlim() public static method

Creates the semaphore slim.
public static CreateSemaphoreSlim ( int maxParallelization ) : Nito.AsyncEx.AsyncSemaphore
maxParallelization int The maximum parallelization.
return Nito.AsyncEx.AsyncSemaphore