FileStreamFactory Class |
Namespace: AGI.Foundation.Infrastructure
The FileStreamFactory type exposes the following members.
Name | Description | |
---|---|---|
FileStreamFactory(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.
| |
FileStreamFactory(String, FileMode) |
Initializes a new instance of the factory that constructs a new FileStream with
FileStream(String, FileMode) when OpenStream
is called.
| |
FileStreamFactory(String, FileMode, FileAccess) |
Initializes a new instance of the factory that constructs a new FileStream with
FileStream(String, FileMode, FileAccess) when OpenStream
is called.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenFileStream |
Opens a new FileStream.
| |
OpenStream |
Opens a new Stream.
(Overrides StreamFactoryOpenStream.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |