forked from ddrilling/AsbCloudServer
PlanFactBase, ArgumentInvalidException
This commit is contained in:
parent
57fc19396e
commit
73f2fe0826
@ -1,5 +1,4 @@
|
||||
#nullable enable
|
||||
using System.Linq;
|
||||
using System.Linq;
|
||||
|
||||
namespace System.Collections.Generic
|
||||
{
|
||||
@ -195,4 +194,3 @@ namespace System.Collections.Generic
|
||||
}
|
||||
}
|
||||
}
|
||||
#nullable disable
|
@ -9,11 +9,11 @@
|
||||
/// <summary>
|
||||
/// Плановое значение
|
||||
/// </summary>
|
||||
public T Plan { get; set; }
|
||||
public T? Plan { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Фактическое значение
|
||||
/// </summary>
|
||||
public T Fact { get; set; }
|
||||
public T? Fact { get; set; }
|
||||
}
|
||||
}
|
||||
|
@ -10,14 +10,14 @@ namespace AsbCloudApp.Exceptions
|
||||
/// <summary>
|
||||
/// название аргумента
|
||||
/// </summary>
|
||||
public string ParamName { get; }
|
||||
public string ParamName { get; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// конструктор
|
||||
/// </summary>
|
||||
/// <param name="message"></param>
|
||||
/// <param name="paramName"></param>
|
||||
public ArgumentInvalidException(string message, string paramName = default)
|
||||
public ArgumentInvalidException(string message, string paramName)
|
||||
: base(message)
|
||||
{
|
||||
ParamName = paramName;
|
||||
|
Loading…
Reference in New Issue
Block a user