mirror of
https://github.com/osukey/osukey.git
synced 2025-07-03 01:09:57 +09:00
Initialise all file lists at construction time (and remove setter)
This commit is contained in:
@ -2,6 +2,7 @@
|
||||
// See the LICENCE file in the repository root for full licence text.
|
||||
|
||||
using System.Collections.Generic;
|
||||
using JetBrains.Annotations;
|
||||
|
||||
namespace osu.Game.Database
|
||||
{
|
||||
@ -12,7 +13,8 @@ namespace osu.Game.Database
|
||||
public interface IHasFiles<TFile>
|
||||
where TFile : INamedFileInfo
|
||||
{
|
||||
List<TFile> Files { get; set; }
|
||||
[NotNull]
|
||||
List<TFile> Files { get; }
|
||||
|
||||
string Hash { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user