From 125ef7606fed4a32193a3d7aed8f5ca0a0f4b4b9 Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 22 Jan 2024 12:39:32 +0300 Subject: [PATCH] 20240122 --- anbs_cp/Extensions/GuidExtensions.cs | 9 ++++++++- anbs_cp/anbs_cp.csproj | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/anbs_cp/Extensions/GuidExtensions.cs b/anbs_cp/Extensions/GuidExtensions.cs index 64c93d7..0670873 100644 --- a/anbs_cp/Extensions/GuidExtensions.cs +++ b/anbs_cp/Extensions/GuidExtensions.cs @@ -8,7 +8,14 @@ public static class GuidExtensions /// /// Проверяет Guid на пустоту /// - /// Guid + /// Guid или null /// Guid пуст (null) или равен Guid.Empty public static bool IsNullOrEmpty (this Guid? g) => g == null || g == Guid.Empty; + + /// + /// Проверяет Guid на пустоту + /// + /// Guid + /// Guid пуст (null) или равен Guid.Empty + public static bool IsNullOrEmpty (this Guid g) => g == Guid.Empty; } \ No newline at end of file diff --git a/anbs_cp/anbs_cp.csproj b/anbs_cp/anbs_cp.csproj index f9953e6..c0a19be 100644 --- a/anbs_cp/anbs_cp.csproj +++ b/anbs_cp/anbs_cp.csproj @@ -2,7 +2,7 @@ net8.0 - 2024.1.21 + 2024.1.22 Александр Бабаев Набор компонентов ANB Software Библиотека полезных методов языка C#