remove #nullable

This commit is contained in:
ngfrolov 2023-05-19 16:51:41 +05:00
parent 8eaad67496
commit b10dde9135
Signed by untrusted user who does not match committer: ng.frolov
GPG Key ID: E99907A0357B29A7
23 changed files with 41 additions and 42 deletions

View File

@ -23,5 +23,5 @@ namespace AsbCloudApp.Data
/// </summary>
public IEnumerable<WellFinalDocumentDto> WellFinalDocuments { get; set; } = Enumerable.Empty<WellFinalDocumentDto>();
}
#nullable disable
}

View File

@ -58,4 +58,3 @@ public class WellGroupOpertionDto
/// </summary>
public IEnumerable<WellGroupOpertionDto>? Items { get; set; }
}
#nullable disable

View File

@ -22,5 +22,5 @@ namespace AsbCloudApp.Data
public DateTime? DateLastAssosiatedPlanOperation { get; set; }
}
#nullable disable
}

View File

@ -11,7 +11,7 @@ using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// CRUD контроллер для админки.
/// </summary>
@ -140,5 +140,5 @@ namespace AsbCloudWebApi.Controllers
return Ok(result);
}
}
#nullable disable
}

View File

@ -10,7 +10,7 @@ using System.Threading.Tasks;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// CRUD контроллер dto связных со скважиной для админки.
/// </summary>
@ -161,5 +161,5 @@ namespace AsbCloudWebApi.Controllers
return false;
}
}
#nullable disable
}

View File

@ -13,7 +13,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Суточный рапорт
/// </summary>
@ -194,5 +194,5 @@ namespace AsbCloudWebApi.Controllers
return false;
}
}
#nullable disable
}

View File

@ -13,7 +13,7 @@ using AsbCloudApp.Repositories;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Хранение файлов
/// </summary>
@ -244,5 +244,5 @@ namespace AsbCloudWebApi.Controllers
}
}
}
#nullable disable
}

View File

@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Статистика по операциям (заведенным вручную) на скважине
/// </summary>
@ -166,5 +166,5 @@ namespace AsbCloudWebApi.Controllers
idWell, token).ConfigureAwait(false);
}
}
#nullable disable
}

View File

@ -11,7 +11,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Плановая траектория (загрузка и хранение)
/// </summary>
@ -249,5 +249,5 @@ namespace AsbCloudWebApi.Controllers
idWell, token).ConfigureAwait(false);
}
}
#nullable disable
}

View File

@ -11,7 +11,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// РТК
/// </summary>
@ -152,5 +152,5 @@ namespace AsbCloudWebApi.Controllers
return await base.UpdateAsync(value, token);
}
}
#nullable disable
}

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Мониторинг запросов, ошибок, пользователей
/// </summary>
@ -88,5 +88,5 @@ namespace AsbCloudWebApi.Controllers
return Ok(result);
}
}
#nullable disable
}

View File

@ -12,7 +12,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers.SAUB
{
#nullable enable
[Route("api/[controller]")]
[ApiController]
public class GtrWitsController : ControllerBase
@ -118,5 +118,5 @@ namespace AsbCloudWebApi.Controllers.SAUB
return Ok();
}
}
#nullable disable
}

View File

@ -11,7 +11,7 @@ using AsbCloudApp.Repositories;
namespace AsbCloudWebApi.Controllers.SAUB
{
#nullable enable
/// <summary>
/// Наработка талевого каната
/// </summary>
@ -112,5 +112,5 @@ namespace AsbCloudWebApi.Controllers.SAUB
}
}
#nullable disable
}

View File

@ -8,7 +8,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Расписание бурильщиков
/// </summary>

View File

@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Композитная скважина
/// </summary>
@ -90,5 +90,5 @@ namespace AsbCloudWebApi.Controllers
idWell, token).ConfigureAwait(false);
}
}
#nullable disable
}

View File

@ -11,7 +11,7 @@ using AsbCloudApp.Repositories;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Дело скважины
/// </summary>
@ -175,5 +175,5 @@ namespace AsbCloudWebApi.Controllers
idWell, token).ConfigureAwait(false);
}
}
#nullable disable
}

View File

@ -14,7 +14,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
#nullable enable
/// <summary>
/// Буровые операции (вводимые вручную)
/// </summary>
@ -393,5 +393,5 @@ namespace AsbCloudWebApi.Controllers
idWell, token).ConfigureAwait(false);
}
}
#nullable disable
}

View File

@ -4,7 +4,7 @@ using System.Text.Json.Serialization;
namespace AsbCloudWebApi.Converters
{
#nullable enable
public class DateOnlyJsonConverter : JsonConverter<DateOnly>
{
public override DateOnly Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
@ -18,5 +18,5 @@ namespace AsbCloudWebApi.Converters
writer.WriteStringValue(isoDate);
}
}
#nullable disable
}

View File

@ -6,7 +6,7 @@ using System.Text.Json.Serialization;
namespace AsbCloudWebApi.Converters
{
#nullable enable
public class DateOnlyTypeConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
@ -44,5 +44,5 @@ namespace AsbCloudWebApi.Converters
return base.ConvertTo(context, culture, value, destinationType);
}
}
#nullable disable
}

View File

@ -4,7 +4,7 @@ using System.Globalization;
namespace AsbCloudWebApi.Converters
{
#nullable enable
public class TimeOnlyTypeConverter : TypeConverter
{
public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
@ -42,5 +42,5 @@ namespace AsbCloudWebApi.Converters
return base.ConvertTo(context, culture, value, destinationType);
}
}
#nullable disable
}

View File

@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Middlewares
{
#nullable enable
public class PermissionsMiddlware
{
private readonly RequestDelegate next;
@ -80,5 +80,5 @@ namespace AsbCloudWebApi.Middlewares
await context.ForbidAsync();
}
}
#nullable disable
}

View File

@ -4,7 +4,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Middlewares
{
#nullable enable
public class RequerstTrackerMiddleware
{
private readonly RequestDelegate next;
@ -49,5 +49,5 @@ namespace AsbCloudWebApi.Middlewares
}
}
}
#nullable disable
}

View File

@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace AsbCloudWebApi.Middlewares
{
#nullable enable
/// <summary>
/// This is not real middleware it`s part of PermissionsMiddlware.
/// DO NOT register it in setup.cs as middleware.
@ -69,5 +69,5 @@ namespace AsbCloudWebApi.Middlewares
}
}
}
#nullable disable
}