Click or drag to resize

LocalFileSystemWithSelfEventFilterT Method (LocalFileSystemEventFilter, FuncT)

Runs a function with an event filter applied.

Namespace:  callback.ShellBoost.Core.Synchronization
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
protected virtual T WithSelfEventFilter<T>(
	LocalFileSystemEventFilter filter,
	Func<T> func
)

Parameters

filter
Type: callback.ShellBoost.Core.SynchronizationLocalFileSystemEventFilter
The filter.
func
Type: SystemFuncT
The function.

Type Parameters

T
The expected return type.

Return Value

Type: T
The result of the function call.
Exceptions
ExceptionCondition
ArgumentNullExceptionfilter is null or action is null.
See Also