mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-12 19:41:03 +08:00
15 lines
401 B
C#
15 lines
401 B
C#
using Foxel.Models.DataBase;
|
|
using Foxel.Services.Interface;
|
|
|
|
namespace Foxel.Services.Interface;
|
|
|
|
public interface IStorageProviderFactory
|
|
{
|
|
/// <summary>
|
|
/// 根据存储类型获取对应的存储提供者
|
|
/// </summary>
|
|
/// <param name="storageType">存储类型</param>
|
|
/// <returns>存储提供者实例</returns>
|
|
IStorageProvider GetProvider(StorageType storageType);
|
|
}
|