Click or drag to resize

ScannerScanAsync Method

Starts asynchronous recursive scan processing through the directory specified in the class constructor.

Namespace: Orthogonal.Common.Basic.DepScan
Assembly: Orthogonal.Common.Basic (in Orthogonal.Common.Basic.dll) Version: 2024-04-29 08:29 GMT+10
Syntax
C#
public Task<ScanResult> ScanAsync(
	CancellationToken? cancelToken,
	string[]? ignores = null
)

Parameters

cancelToken  NullableCancellationToken
An optional cancellation token to cancel scan processing.
ignores  String  (Optional)
An optional array of values which will cause a solution or project file to be skipped from scanning if the full path of the file contains any of the ignore strings (case insensitive).

Return Value

TaskScanResult
A Task whose asyncronous result contains the results of scan processing.
See Also