Change Metadata into a get property

This commit is contained in:
Dean Herbert
2021-04-12 15:52:29 +09:00
parent 78bbc8f5c8
commit 8bf85d737c
5 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ namespace osu.Game.Rulesets.Edit.Checks
{
public class CheckBackground : Check
{
public override CheckMetadata Metadata() => new CheckMetadata
public override CheckMetadata Metadata { get; } = new CheckMetadata
(
category: CheckCategory.Resources,
description: "Missing background."

View File

@ -11,7 +11,7 @@ namespace osu.Game.Rulesets.Edit.Checks.Components
/// <summary>
/// The metadata for this check.
/// </summary>
public abstract CheckMetadata Metadata();
public abstract CheckMetadata Metadata { get; }
/// <summary>
/// All possible templates for issues that this check may return.