15 lines
392 B
C#
15 lines
392 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Bit.Core.Abstractions
|
|
{
|
|
public interface IFileService
|
|
{
|
|
bool CanOpenFile(string fileName);
|
|
bool OpenFile(byte[] fileData, string id, string fileName);
|
|
bool SaveFile(byte[] fileData, string id, string fileName, string contentUri);
|
|
Task ClearCacheAsync();
|
|
Task SelectFileAsync();
|
|
}
|
|
}
|