LINQExtensionsWithCancellationT Method

Definition

Namespace: PCBI_API_Extensions.Extensions
Assembly: PCBI.API_Library (in PCBI.API_Library.dll) Version: 17.0.0.0 (17.0.0.0)
C#
public static IEnumerable<T> WithCancellation<T>(
	this IEnumerable<T> en,
	CancellationToken token
)

Parameters

en  IEnumerableT
 
token  CancellationToken
 

Type Parameters

T

Return Value

IEnumerableT

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also