diff --git a/AsbCloudApp/CyclycArray.cs b/AsbCloudApp/CyclycArray.cs index f47edc5b..b551d1c2 100644 --- a/AsbCloudApp/CyclycArray.cs +++ b/AsbCloudApp/CyclycArray.cs @@ -1,5 +1,4 @@ -#nullable enable -using System.Linq; +using System.Linq; namespace System.Collections.Generic { @@ -194,5 +193,4 @@ namespace System.Collections.Generic current = -1; } } -} -#nullable disable \ No newline at end of file +} \ No newline at end of file diff --git a/AsbCloudApp/Data/PlanFactBase.cs b/AsbCloudApp/Data/PlanFactBase.cs index fc3dcff4..343156b4 100644 --- a/AsbCloudApp/Data/PlanFactBase.cs +++ b/AsbCloudApp/Data/PlanFactBase.cs @@ -9,11 +9,11 @@ /// /// Плановое значение /// - public T Plan { get; set; } + public T? Plan { get; set; } /// /// Фактическое значение /// - public T Fact { get; set; } + public T? Fact { get; set; } } } diff --git a/AsbCloudApp/Exceptions/ArgumentInvalidException.cs b/AsbCloudApp/Exceptions/ArgumentInvalidException.cs index 2e70b871..b8014098 100644 --- a/AsbCloudApp/Exceptions/ArgumentInvalidException.cs +++ b/AsbCloudApp/Exceptions/ArgumentInvalidException.cs @@ -10,14 +10,14 @@ namespace AsbCloudApp.Exceptions /// /// название аргумента /// - public string ParamName { get; } + public string ParamName { get; } = string.Empty; /// /// конструктор /// /// /// - public ArgumentInvalidException(string message, string paramName = default) + public ArgumentInvalidException(string message, string paramName) : base(message) { ParamName = paramName;