From 23e19316da9b0273c522589cc95bc0511e5622c1 Mon Sep 17 00:00:00 2001 From: Farshad DASHTI Date: Thu, 10 Oct 2024 11:30:49 +0100 Subject: [PATCH] Updated comments --- README.md | 1 + .../V1/EducationalPerformance/SchoolAbsenceDataDto.cs | 2 +- academiesContracts/Dfe.Academies.Contracts/V4/AddressDto.cs | 2 +- .../V4/Establishments/EstablishmentDto.cs | 2 +- .../Dfe.Academies.Contracts/V4/PagedDataResponse.cs | 2 +- .../Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs | 2 +- .../correlationIdMiddleware/CorrelationContext.cs | 2 +- .../correlationIdMiddleware/CorrelationIdMiddleware.cs | 2 +- .../correlationIdMiddleware/ICorrelationContext.cs | 2 +- correlationIdMiddleware/correlationIdMiddleware/Keys.cs | 2 +- .../ExtensionMethods/BooleanExtensions.cs | 2 +- .../ExtensionMethods/DateTimeExtensions.cs | 2 +- .../ExtensionMethods/DecimalExtensions.cs | 2 +- .../ExtensionMethods/EnumExtensions.cs | 2 +- .../ExtensionMethods/IntegerExtensions.cs | 2 +- .../ExtensionMethods/ObjectExtensions.cs | 2 +- .../ExtensionMethods/StringExtensions.cs | 2 +- 17 files changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index c5f07c0..1a4e47b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Repository and Packages Deprecated +[!WARNING] This repository/package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead. # Academisation Nuget Packages diff --git a/academiesContracts/Dfe.Academies.Contracts/V1/EducationalPerformance/SchoolAbsenceDataDto.cs b/academiesContracts/Dfe.Academies.Contracts/V1/EducationalPerformance/SchoolAbsenceDataDto.cs index f2cbd89..722f663 100644 --- a/academiesContracts/Dfe.Academies.Contracts/V1/EducationalPerformance/SchoolAbsenceDataDto.cs +++ b/academiesContracts/Dfe.Academies.Contracts/V1/EducationalPerformance/SchoolAbsenceDataDto.cs @@ -4,7 +4,7 @@ namespace Dfe.Academies.Contracts.V1.EducationalPerformance /// Absence Data Response /// #pragma warning disable S1133 - [Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] + [Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Contracts instead.")] #pragma warning restore S1133 public class SchoolAbsenceDataDto { diff --git a/academiesContracts/Dfe.Academies.Contracts/V4/AddressDto.cs b/academiesContracts/Dfe.Academies.Contracts/V4/AddressDto.cs index 273aba3..dc6ae32 100644 --- a/academiesContracts/Dfe.Academies.Contracts/V4/AddressDto.cs +++ b/academiesContracts/Dfe.Academies.Contracts/V4/AddressDto.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Contracts instead.")] #pragma warning restore S1133 [Serializable] public class AddressDto diff --git a/academiesContracts/Dfe.Academies.Contracts/V4/Establishments/EstablishmentDto.cs b/academiesContracts/Dfe.Academies.Contracts/V4/Establishments/EstablishmentDto.cs index 3312a20..a262f13 100644 --- a/academiesContracts/Dfe.Academies.Contracts/V4/Establishments/EstablishmentDto.cs +++ b/academiesContracts/Dfe.Academies.Contracts/V4/Establishments/EstablishmentDto.cs @@ -2,7 +2,7 @@ [Serializable] #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Contracts instead.")] #pragma warning restore S1133 public class EstablishmentDto { diff --git a/academiesContracts/Dfe.Academies.Contracts/V4/PagedDataResponse.cs b/academiesContracts/Dfe.Academies.Contracts/V4/PagedDataResponse.cs index 52c5d53..42e23c3 100644 --- a/academiesContracts/Dfe.Academies.Contracts/V4/PagedDataResponse.cs +++ b/academiesContracts/Dfe.Academies.Contracts/V4/PagedDataResponse.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Contracts instead.")] #pragma warning restore S1133 [Serializable] public class PagedDataResponse where TResponse : class diff --git a/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs b/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs index 515991d..4c4fba4 100644 --- a/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs +++ b/academiesContracts/Dfe.Academies.Contracts/V4/Trusts/TrustDto.cs @@ -3,7 +3,7 @@ using Dfe.Academies.Contracts.V4.Establishments; #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Contracts instead.")] #pragma warning restore S1133 [Serializable] public class TrustDto diff --git a/correlationIdMiddleware/correlationIdMiddleware/CorrelationContext.cs b/correlationIdMiddleware/correlationIdMiddleware/CorrelationContext.cs index 7371a0e..4b8e495 100644 --- a/correlationIdMiddleware/correlationIdMiddleware/CorrelationContext.cs +++ b/correlationIdMiddleware/correlationIdMiddleware/CorrelationContext.cs @@ -2,7 +2,7 @@ /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Http instead.")] #pragma warning restore S1133 public class CorrelationContext : ICorrelationContext { diff --git a/correlationIdMiddleware/correlationIdMiddleware/CorrelationIdMiddleware.cs b/correlationIdMiddleware/correlationIdMiddleware/CorrelationIdMiddleware.cs index 9eb1522..48f2d0d 100644 --- a/correlationIdMiddleware/correlationIdMiddleware/CorrelationIdMiddleware.cs +++ b/correlationIdMiddleware/correlationIdMiddleware/CorrelationIdMiddleware.cs @@ -10,7 +10,7 @@ /// Header used in requests is 'x-correlationId' /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Http instead.")] #pragma warning restore S1133 public class CorrelationIdMiddleware { diff --git a/correlationIdMiddleware/correlationIdMiddleware/ICorrelationContext.cs b/correlationIdMiddleware/correlationIdMiddleware/ICorrelationContext.cs index f8fb6ed..522c89f 100644 --- a/correlationIdMiddleware/correlationIdMiddleware/ICorrelationContext.cs +++ b/correlationIdMiddleware/correlationIdMiddleware/ICorrelationContext.cs @@ -5,7 +5,7 @@ /// dependency in your IoC/DI container. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Http instead.")] #pragma warning restore S1133 public interface ICorrelationContext { diff --git a/correlationIdMiddleware/correlationIdMiddleware/Keys.cs b/correlationIdMiddleware/correlationIdMiddleware/Keys.cs index 505e266..8b4aa06 100644 --- a/correlationIdMiddleware/correlationIdMiddleware/Keys.cs +++ b/correlationIdMiddleware/correlationIdMiddleware/Keys.cs @@ -3,7 +3,7 @@ /// The keys used by the correlation id middleware. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Http instead.")] #pragma warning restore S1133 public class Keys { diff --git a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/BooleanExtensions.cs b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/BooleanExtensions.cs index efc9efa..2354460 100644 --- a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/BooleanExtensions.cs +++ b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/BooleanExtensions.cs @@ -4,7 +4,7 @@ /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Utilities instead.")] #pragma warning restore S1133 public static class BooleanExtensions { diff --git a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DateTimeExtensions.cs b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DateTimeExtensions.cs index 0678397..99f6591 100644 --- a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DateTimeExtensions.cs +++ b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DateTimeExtensions.cs @@ -3,7 +3,7 @@ /// The date time extensions. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Utilities instead.")] #pragma warning restore S1133 public static class DateTimeExtensions { diff --git a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DecimalExtensions.cs b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DecimalExtensions.cs index 2145b1d..376f850 100644 --- a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DecimalExtensions.cs +++ b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/DecimalExtensions.cs @@ -4,7 +4,7 @@ /// The decimal extensions. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Utilities instead.")] #pragma warning restore S1133 public static class DecimalExtensions { diff --git a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/EnumExtensions.cs b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/EnumExtensions.cs index 4ceec5f..2410bbf 100644 --- a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/EnumExtensions.cs +++ b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/EnumExtensions.cs @@ -5,7 +5,7 @@ /// The enum extensions. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Utilities instead.")] #pragma warning restore S1133 public static class EnumExtensions { diff --git a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/IntegerExtensions.cs b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/IntegerExtensions.cs index 9378084..ec374d2 100644 --- a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/IntegerExtensions.cs +++ b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/IntegerExtensions.cs @@ -3,7 +3,7 @@ /// The integer extensions. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Utilities instead.")] #pragma warning restore S1133 public static class IntegerExtensions { diff --git a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/ObjectExtensions.cs b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/ObjectExtensions.cs index 6c30a64..dccbec3 100644 --- a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/ObjectExtensions.cs +++ b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/ObjectExtensions.cs @@ -3,7 +3,7 @@ /// The object extensions. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Utilities instead.")] #pragma warning restore S1133 public static class ObjectExtensions { diff --git a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/StringExtensions.cs b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/StringExtensions.cs index 4b32de4..b163cc5 100644 --- a/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/StringExtensions.cs +++ b/extensionMethods/Dfe.Academisation.ExtensionMethods/ExtensionMethods/StringExtensions.cs @@ -6,7 +6,7 @@ /// The string extensions. /// #pragma warning disable S1133 -[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs instead.")] +[Obsolete("This package is deprecated. Please use https://github.com/DFE-Digital/rsd-core-libs/pkgs/nuget/DfE.CoreLibs.Utilities instead.")] #pragma warning restore S1133 public static class StringExtensions {