2019-01-24 08:43:03 +00: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 09:19:50 +00:00
|
|
|
|
|
2022-06-17 07:37:17 +00:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2018-02-15 07:33:33 +00:00
|
|
|
|
using System.Collections.Generic;
|
2021-11-24 04:42:07 +00:00
|
|
|
|
using JetBrains.Annotations;
|
2018-04-13 09:19:50 +00:00
|
|
|
|
|
2018-02-15 07:23:34 +00: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 11:45:04 +00:00
|
|
|
|
where TFile : INamedFileInfo
|
2018-02-15 07:23:34 +00:00
|
|
|
|
{
|
2021-11-24 04:42:07 +00:00
|
|
|
|
[NotNull]
|
|
|
|
|
List<TFile> Files { get; }
|
2018-11-28 10:01:22 +00:00
|
|
|
|
|
|
|
|
|
string Hash { get; set; }
|
2018-02-15 07:23:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|