mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Crentalise all import logic
This commit is contained in:
@ -20,7 +20,7 @@ namespace osu.Game.Database
|
||||
/// </summary>
|
||||
/// <typeparam name="TModel">The model type.</typeparam>
|
||||
/// <typeparam name="TFileModel">The associated file join type.</typeparam>
|
||||
public abstract class ArchiveModelManager<TModel, TFileModel> : ICanImportArchives
|
||||
public abstract class ArchiveModelManager<TModel, TFileModel> : ICanAcceptFiles
|
||||
where TModel : class, IHasFiles<TFileModel>, IHasPrimaryKey, ISoftDelete
|
||||
where TFileModel : INamedFileInfo, new()
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
namespace osu.Game.Database
|
||||
{
|
||||
public interface ICanImportArchives
|
||||
public interface ICanAcceptFiles
|
||||
{
|
||||
void Import(params string[] paths);
|
||||
|
Reference in New Issue
Block a user