mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Address todos relating to init-only usages
This commit is contained in:
@ -20,8 +20,7 @@ namespace osu.Game.Tests.Visual
|
||||
/// <summary>
|
||||
/// The dependencies provided to the children.
|
||||
/// </summary>
|
||||
// TODO: should be an init-only property when C# 9
|
||||
public (Type, object)[] CachedDependencies { get; set; } = Array.Empty<(Type, object)>();
|
||||
public (Type, object)[] CachedDependencies { get; init; } = Array.Empty<(Type, object)>();
|
||||
|
||||
protected override IReadOnlyDependencyContainer CreateChildDependencies(IReadOnlyDependencyContainer parent)
|
||||
{
|
||||
|
Reference in New Issue
Block a user