Click or drag to resize

LocalFileSystemWithSelfEventFilterT Method (LocalFileSystemEventFilter, FuncT)

Runs a function with an event filter applied.

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

Parameters

filter
Type: 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