API Diff between 2.0.2 and 1.1.31
256 Additions
19 Removals
FileStorage.Contracts
-
public class FileBatchRequest
-
public class FileData
-
public class FileInfoResponse
- public string Hash { get; set; }
- public string Id { get; set; }
- public long Length { get; set; }
- public string Path { get; set; }
- public FileInfoResponse(string id, string hash, long length, string path)
-
public sealed class FileInProcess
-
public class FileLogData
-
public sealed class FileStorageBatchPersist : IDisposable, IFileStorageBatchPersist
-
public sealed class FileStorageBatchPersistById : IDisposable, IFileStorageBatchPersist
-
public interface IFileStorageBatchPersist
-
public interface IFileStorageService
- void ChangeDepthDirectory(int newDepth, string storageName)
- void ClearTtl(DateTime date, string storageName)
- void Delete(string id, string storageName)
- void DeleteTemp(string id, string storageName)
- bool Exists(string hash, string storageName)
- byte[] GetBytes(string id, string storageName)
- byte[] GetBytesByExternal(string externalId, string storageName)
- byte[] GetBytesOffset(string id, long offset, int size, string storageName)
- long GetCount(string storageName)
- string GetExistIdByExternal(string externalId, string storageName)
- string GetFullName(string id, string storageName)
- string GetFullNameByExternal(string externalId, 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(string id, string storageName)
- long GetSize(string id, string storageName)
- Stream GetStream(string id, string storageName)
- Stream GetStreamExternalId(string externalId, string storageName)
- bool IsExistsByExternalId(string externalId, string storageName)
- void Move(string fromId, string toId, string storageName)
- void RefreshLog(string storageName)
- FileInfoResponse SaveById(FileBatchRequest request)
- FileInfoResponse SaveBytes(byte[] bytes, string storageName)
- void SaveBytes(string id, byte[] bytes, int offset, int size, string storageName)
- FileInfoResponse SaveBytesByExternal(byte[] bytes, string externalId, string storageName)
- FileInfoResponse SaveStream(Stream stream, string storageName)
- FileInfoResponse SaveStream(Stream input, string id, string storageName)
-
public interface IWcfFileStorageService
- void ClearTtl(DateTime date)
- void Delete(string id)
- void DeleteTemp(string id)
- bool Exists(string hash)
- bool ExistsNamed(string hash, string storageName)
- byte[] GetBytes(string id)
- byte[] GetBytesByExternal(string externalId)
- byte[] GetBytesNamed(string id, string storageName)
- byte[] GetBytesOffset(string id, long offset, int size)
- long GetCount()
- string GetExistIdByExternal(string externalId)
- string GetFullName(string id)
- string GetFullNameByExternal(string externalId)
- string GetIdByExternal(string externalId)
- List<string> GetIds(long offset, int count)
- FileLogData GetIdsByDate(DateTime time, int take)
- DateTime? GetLogDateById(string id)
- long GetSize(string id)
- Stream GetStream(string id)
- Stream GetStreamNamed(string id, string storageName)
- void Move(string fromId, string toId)
- void RefreshLog()
- FileInfoResponse SaveByBatchRequest(FileBatchRequest request)
- FileInfoResponse SaveById(string id, byte[] bytes, bool close)
- FileInfoResponse SaveByIdNamed(string id, byte[] bytes, bool close, string storageName)
- FileInfoResponse SaveByName(string name, byte[] bytes, bool close)
- FileInfoResponse SaveBytes(byte[] bytes)
- FileInfoResponse SaveBytesByExternal(byte[] bytes, string externalId)
- FileInfoResponse SaveStream(Stream stream)
-
public static class NamespaceVer001
- public const string Contract = "FileStorage.Contracts.Common.Ver001/Contract"
- public const string Fault = "FileStorage.Contracts.Common.Ver001/Fault"
- public const string Main = "FileStorage.Contracts.Common.Ver001"
- public const string Message = "FileStorage.Contracts.Common.Ver001/Message"
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 FileStorageVirtual : IFileStorageVirtual
-
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.Repositories
FileStorage.Core.Interfaces.Settings
FileStorage.Core.Invariants