Remove FluentResults, documentation
This commit is contained in:
@@ -81,7 +81,14 @@ public record StatisticSet<T> : ImmutableStatisticSet<T>
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Helper function to add two numerics together.
|
||||
/// </summary>
|
||||
protected T Add(T a, T b) => (T)Convert.ChangeType(Convert.ToInt32(a) + Convert.ToInt32(b), typeof(T));
|
||||
|
||||
/// <summary>
|
||||
/// Helper function to subtract two numerics.
|
||||
/// </summary>
|
||||
protected T Subtract(T a, T b) => (T)Convert.ChangeType(Convert.ToInt32(a) - Convert.ToInt32(b), typeof(T));
|
||||
|
||||
/// <summary>
|
||||
@@ -214,6 +221,7 @@ public abstract record ClampedStatisticSet<T> : StatisticSet<T>
|
||||
/// The minimum value for the statistics.
|
||||
/// </summary>
|
||||
protected abstract T Min { get; }
|
||||
|
||||
/// <summary>
|
||||
/// The maximum value for the statistics.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user