2019-01-24 16:43:03 +08:00
|
|
|
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
|
|
|
|
// See the LICENCE file in the repository root for full licence text.
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2018-02-15 15:33:33 +08:00
|
|
|
|
using System.Collections.Generic;
|
2021-11-24 12:42:07 +08:00
|
|
|
|
using JetBrains.Annotations;
|
2018-04-13 17:19:50 +08:00
|
|
|
|
|
2018-02-15 15:23:34 +08:00
|
|
|
|
namespace osu.Game.Database
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// A model that contains a list of files it is responsible for.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="TFile">The model representing a file.</typeparam>
|
|
|
|
|
public interface IHasFiles<TFile>
|
2018-03-14 19:45:04 +08:00
|
|
|
|
where TFile : INamedFileInfo
|
2018-02-15 15:23:34 +08:00
|
|
|
|
{
|
2021-11-24 12:42:07 +08:00
|
|
|
|
[NotNull]
|
|
|
|
|
List<TFile> Files { get; }
|
2018-11-28 18:01:22 +08:00
|
|
|
|
|
|
|
|
|
string Hash { get; set; }
|
2018-02-15 15:23:34 +08:00
|
|
|
|
}
|
|
|
|
|
}
|