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.2.419.0 (24.2.419.0)
Syntax public FileStreamFactory(
Func<FileStream> func
)
Public Sub New (
func As Func(Of FileStream)
)
public:
FileStreamFactory(
Func<FileStream^>^ func
)
new :
func : Func<FileStream> -> FileStreamFactory
Parameters
- func
- Type: SystemFuncFileStream
The function to call in order to open a file stream.
Exceptions See Also