Fix casing on private properties

This commit is contained in:
Drew DeVault
2016-10-10 14:00:33 -04:00
committed by Dean Herbert
parent dc4bd48f29
commit 880399f5a5
5 changed files with 43 additions and 43 deletions

View File

@ -13,11 +13,11 @@ namespace osu.Game.Beatmaps.IO
public Type Type { get; set; }
}
private static List<Reader> Readers { get; set; } = new List<Reader>();
private static List<Reader> readers { get; set; } = new List<Reader>();
public static ArchiveReader GetReader(BasicStorage storage, string path)
{
foreach (var reader in Readers)
foreach (var reader in readers)
{
if (reader.Test(storage, path))
return (ArchiveReader)Activator.CreateInstance(reader.Type);
@ -27,7 +27,7 @@ namespace osu.Game.Beatmaps.IO
protected static void AddReader<T>(Func<BasicStorage, string, bool> test) where T : ArchiveReader
{
Readers.Add(new Reader { Test = test, Type = typeof(T) });
readers.Add(new Reader { Test = test, Type = typeof(T) });
}
/// <summary>