![]() |
Nabû 1.0.0
Standardizing .NET developments with abstractions
|
Public Member Functions | |
Task | DeleteFile (string id) |
remove file with provided id | |
Task< bool > | IsFileExists (string id) |
return true if file exists elsewhere return false | |
Task< Stream > | ReadFile (string id) |
read data from file with provided id | |
Task | ReadFile (string id, Stream outputStream) |
read data from file with provided id and wrote it into the output Stream | |
Task | WriteFile (string id, Stream data, long length=-1) |
replace all data for file with provided id with those from the stream | |
Properties | |
T | StorageInfo [get] |
Task Nabu.Storage.IStorageManager< T >.DeleteFile | ( | string | id | ) |
remove file with provided id
id |
Implemented in Nabu.Storage.LiteDb.LiteDbStorageManager< T >, Nabu.Storage.Local.LocalStorageManager< T >, and Nabu.Storage.Minio.MinioStorageManager< T >.
Task< bool > Nabu.Storage.IStorageManager< T >.IsFileExists | ( | string | id | ) |
return true if file exists elsewhere return false
id | |
storageInfo |
Implemented in Nabu.Storage.LiteDb.LiteDbStorageManager< T >, Nabu.Storage.Local.LocalStorageManager< T >, and Nabu.Storage.Minio.MinioStorageManager< T >.
Task< Stream > Nabu.Storage.IStorageManager< T >.ReadFile | ( | string | id | ) |
read data from file with provided id
id |
Implemented in Nabu.Storage.LiteDb.LiteDbStorageManager< T >, Nabu.Storage.Local.LocalStorageManager< T >, and Nabu.Storage.Minio.MinioStorageManager< T >.
Task Nabu.Storage.IStorageManager< T >.ReadFile | ( | string | id, |
Stream | outputStream ) |
read data from file with provided id and wrote it into the output Stream
id | |
outputStream |
Implemented in Nabu.Storage.LiteDb.LiteDbStorageManager< T >, Nabu.Storage.Local.LocalStorageManager< T >, and Nabu.Storage.Minio.MinioStorageManager< T >.
Task Nabu.Storage.IStorageManager< T >.WriteFile | ( | string | id, |
Stream | data, | ||
long | length = -1 ) |
replace all data for file with provided id with those from the stream
data | |
id | |
length |
Implemented in Nabu.Storage.LiteDb.LiteDbStorageManager< T >, Nabu.Storage.Local.LocalStorageManager< T >, and Nabu.Storage.Minio.MinioStorageManager< T >.
|
get |
Implemented in Nabu.Storage.Local.LocalStorageManager< T >, and Nabu.Storage.Minio.MinioStorageManager< T >.