// Copyright (c) ppy Pty Ltd . Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. #nullable disable using System.Collections.Generic; namespace osu.Game.Rulesets.Edit.Checks.Components { /// /// A specific check that can be run on a beatmap to verify or find issues. /// public interface ICheck { /// /// The metadata for this check. /// public CheckMetadata Metadata { get; } /// /// All possible templates for issues that this check may return. /// public IEnumerable PossibleTemplates { get; } /// /// Runs this check and returns any issues detected for the provided beatmap. /// /// The beatmap verifier context associated with the beatmap. public IEnumerable Run(BeatmapVerifierContext context); } }