API Diff between 2.0.2 and 0.0.1
143 Additions
10 Removals
FileStorage.Contracts
FileStorage.Core
-
public sealed class FileContainer
-
public sealed class FileStorage : IFileStorage<string>
-
public sealed class FileStorageFactory : IFileStorageFactory<string>
-
public class FileStorageSettings : IFileStorageSettings
-
public sealed class FolderStorage : IFolderStorage
- public FolderStorage(string name)
- public FolderStorage(string name, IFileStorageSettings settings, IFileStorageVirtual fileStorageVirtual)
- public static string GetRoot(IFileStorageSettings settings, string name)
- public void Append(byte[] array, FolderStorageInfo info)
- public void ChangeDepthDirectory(int oldDepth, int newDepth)
- public void ClearTtl(DateTime date)
- public bool Delete(FolderStorageInfo info)
- public void DeleteAll()
- public bool DeleteTemp(FolderStorageInfo info)
- public bool Exists(FolderStorageInfo info)
- public FileContainer Get(FolderStorageInfo info)
- public long GetCount()
- public string GetFullFileName(FolderStorageInfo info)
- public string GetFullFileName(FolderStorageInfo info, bool createDirectory)
- public List<string> GetIds(long offset, int count)
- public List<EventMessage> GetLog(DateTime time, int take)
- public DateTime? GetLogDateById(FolderStorageInfo info)
- public string GetRelativeFileName(FolderStorageInfo info)
- public long GetSize(FolderStorageInfo info)
- public Stream GetStream(FolderStorageInfo info)
- public void Move(FolderStorageInfo fromId, FolderStorageInfo toId)
- public void RefreshLog()
- public string Save(FileContainer file)
- public void Save(byte[] array, FolderStorageInfo info)
- public void Save(Stream stream, FolderStorageInfo info)
- public FileToken SaveStream(Stream input, FolderStorageInfo info)
- public void SaveToFile(SaveFileRequest request)
-
public sealed class FolderStorageFactory : IFolderStorageFactory
-
public sealed class FolderStorageInfo
-
public interface IFileStorage<TValue>
-
public interface IFileStorageFactory<TValue>
-
public interface IFolderStorage
-
public interface IFolderStorageFactory
FileStorage.Core.Contracts
-
public interface IFolderStorageService
- void ChangeDepthDirectory(int newDepth, string storageName)
- void ClearTtl(DateTime date, string storageName)
- void Delete(FolderStorageInfo info)
- void DeleteTemp(FolderStorageInfo info)
- bool Exists(FolderStorageInfo info)
- byte[] GetBytes(FolderStorageInfo info)
- byte[] GetBytesByExternal(string folderExternalId, string fileExternalId, string storageName)
- byte[] GetBytesOffset(FolderStorageInfo info, long offset, int size)
- long GetCount(string storageName)
- string GetExistIdByExternal(string folderExternalId, string fileExternalId, string storageName)
- string GetFullName(FolderStorageInfo info)
- string GetFullNameByExternal(string folderExternalId, string fileExternalId, string storageName)
- string GetIdByExternal(string externalId)
- List<string> GetIds(long offset, int count, string storageName)
- FileLogData GetIdsByDate(DateTime time, int take, string storageName)
- DateTime? GetLogDateById(FolderStorageInfo info)
- long GetSize(FolderStorageInfo info)
- Stream GetStream(FolderStorageInfo info)
- Stream GetStreamExternalId(string folderExternalId, string fileExternalId, string storageName)
- bool IsExistsByExternalId(string folderExternalId, string fileExternalId, string storageName)
- void Move(string folderId, string fromId, string fromFileId, string storageName)
- void RefreshLog(string storageName)
- FileInfoResponse SaveById(FileBatchRequest request)
- FileInfoResponse SaveBytesByExternal(byte[] bytes, string folderExternalId, string fileExternalId, string storageName)
- FileInfoResponse SaveStream(Stream stream, FolderStorageInfo info)
-
public interface IShardRegisterService
-
public sealed class SaveFileRequest
-
public sealed class ShardInfo
FileStorage.Core.Entities
FileStorage.Core.Interfaces
FileStorage.Core.Interfaces.Settings