Method | Description | |
---|---|---|
BaseFileAppender ( string fileName, ICreateFileParameters createParameters ) : System |
Initializes a new instance of the BaseFileAppender class.
|
|
Close ( ) : void |
Closes this instance.
|
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
Flush ( ) : void |
Flushes this instance.
|
|
GetFileInfo ( System.DateTime &lastWriteTime, long &fileLength ) : bool |
Gets the file info.
|
|
Write ( byte bytes ) : void |
Writes the specified bytes.
|
Method | Description | |
---|---|---|
CreateFileStream ( bool allowConcurrentWrite ) : Windows.Storage.Streams.IRandomAccessStream |
Creates the file stream.
|
|
Dispose ( bool disposing ) : void |
Releases unmanaged and - optionally - managed resources.
|
|
FileTouched ( ) : void |
Records the last write time for a file.
|
|
FileTouched ( System.DateTime dateTime ) : void |
Records the last write time for a file to be specific date.
|
Method | Description | |
---|---|---|
TryCreateFileStream ( bool allowConcurrentWrite ) : Windows.Storage.Streams.IRandomAccessStream | ||
WindowsCreateFile ( string fileName, bool allowConcurrentWrite ) : |
public BaseFileAppender ( string fileName, ICreateFileParameters createParameters ) : System | ||
fileName | string | Name of the file. |
createParameters | ICreateFileParameters | The create parameters. |
return | System |
protected CreateFileStream ( bool allowConcurrentWrite ) : Windows.Storage.Streams.IRandomAccessStream | ||
allowConcurrentWrite | bool | If set to |
return | Windows.Storage.Streams.IRandomAccessStream |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | True to release both managed and unmanaged resources; |
return | void |
protected FileTouched ( System.DateTime dateTime ) : void | ||
dateTime | System.DateTime | Date and time when the last write occurred. |
return | void |
public abstract GetFileInfo ( System.DateTime &lastWriteTime, long &fileLength ) : bool | ||
lastWriteTime | System.DateTime | The last write time. |
fileLength | long | Length of the file. |
return | bool |
public abstract Write ( byte bytes ) : void | ||
bytes | byte | The bytes. |
return | void |