![]() |
Nabû 1.0.0
Standardizing .NET developments with abstractions
|
Inheritance diagram for Nabu.Storage.IStorageManager: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 | |
| Task Nabu.Storage.IStorageManager.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.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.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.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.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 >.