![]() |
Nabû 1.0.0
Standardizing .NET developments with abstractions
|
Public Member Functions | |
MinioStorageManager (T storageInfo) | |
async Task | DeleteFile (string id) |
remove file with provided id | |
async Task< bool > | IsFileExists (string id) |
return true if file exists elsewhere return false | |
async Task< Stream > | ReadFile (string id) |
read data from file with provided id | |
async Task | ReadFile (string id, Stream outputStream) |
read data from file with provided id and wrote it into the output Stream | |
async 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] |
![]() |
async Task Nabu.Storage.Minio.MinioStorageManager< T >.DeleteFile | ( | string | id | ) |
async Task< bool > Nabu.Storage.Minio.MinioStorageManager< T >.IsFileExists | ( | string | id | ) |
return true if file exists elsewhere return false
id | |
storageInfo |
Implements Nabu.Storage.IStorageManager< T >.
async Task< Stream > Nabu.Storage.Minio.MinioStorageManager< T >.ReadFile | ( | string | id | ) |
read data from file with provided id
id |
Implements Nabu.Storage.IStorageManager< T >.
async Task Nabu.Storage.Minio.MinioStorageManager< T >.ReadFile | ( | string | id, |
Stream | outputStream ) |
read data from file with provided id and wrote it into the output Stream
id | |
outputStream |
Implements Nabu.Storage.IStorageManager< T >.
async Task Nabu.Storage.Minio.MinioStorageManager< 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 |
Implements Nabu.Storage.IStorageManager< T >.
|
get |
Implements Nabu.Storage.IStorageManager< T >.