This commit is contained in:
Stef Heyenrath
2017-02-14 21:38:44 +01:00
parent b25444d083
commit 571f434b9a
15 changed files with 65 additions and 34 deletions

View File

@@ -6,12 +6,12 @@
public class LogRequestMatchModel
{
/// <summary>
/// Gets or sets the number of matches.
/// Gets or sets the match-score.
/// </summary>
/// <value>
/// The number of matches.
/// The match-score.
/// </value>
public double MatchScore { get; set; }
public double TotalScore { get; set; }
/// <summary>
/// Gets or sets the total number of matches.
@@ -19,7 +19,7 @@
/// <value>
/// The total number of matches.
/// </value>
public int Total { get; set; }
public int TotalNumber { get; set; }
/// <summary>
/// Gets or sets a value indicating whether this instance is perfect match.
@@ -27,7 +27,7 @@
/// <value>
/// <c>true</c> if this instance is perfect match; otherwise, <c>false</c>.
/// </value>
public bool IsPerfectMatch => MatchScore == Total;
public bool IsPerfectMatch { get; set; }
/// <summary>
/// Gets the match percentage.
@@ -35,6 +35,6 @@
/// <value>
/// The match percentage.
/// </value>
public double MatchPercentage => Total == 0 ? 100 : 100.0 * MatchScore / Total;
public double AverageTotalScore { get; set; }
}
}