Add xmldoc for MaxStarDifficulty and MaxLength

This commit is contained in:
iiSaLMaN 2019-07-08 09:35:12 +03:00
parent 79ddb8d5d3
commit 2d0c924bdf
1 changed files with 6 additions and 0 deletions

View File

@ -35,8 +35,14 @@ public int? OnlineBeatmapSetID
[NotMapped]
public BeatmapSetMetrics Metrics { get; set; }
/// <summary>
/// The maximum star difficulty of all beatmaps in this set.
/// </summary>
public double MaxStarDifficulty => Beatmaps?.Max(b => b.StarDifficulty) ?? 0;
/// <summary>
/// The maximum playable length of all beatmaps in this set.
/// </summary>
public double MaxLength => Beatmaps?.Max(b => b.Length) ?? 0;
[NotMapped]