Click or drag to resize

FileStreamFactory Constructor (FuncFileStream)

Initializes a new instance with a provided delegate. The given delegate must be safe to call from multiple threads simultaneously. In most situations, one of the other constructors should be used instead.

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public FileStreamFactory(
	Func<FileStream> func
)

Parameters

func
Type: SystemFuncFileStream
The function to call in order to open a file stream.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when func is .
See Also