From 6b8c33837947abb3b069cb205e07726203bbb5ec Mon Sep 17 00:00:00 2001
From: Morgan <103436411+MorganKryze@users.noreply.github.com>
Date: Sun, 17 Dec 2023 20:58:36 +0100
Subject: [PATCH] :docs: add version that define obsolescence
---
src/ConsoleAppVisuals/Core.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/ConsoleAppVisuals/Core.cs b/src/ConsoleAppVisuals/Core.cs
index 40e3faa6..06725fe0 100644
--- a/src/ConsoleAppVisuals/Core.cs
+++ b/src/ConsoleAppVisuals/Core.cs
@@ -96,7 +96,7 @@ public static class Core
///
/// The default header input.
/// The default footer input.
- [Obsolete("This method is deprecated. Use SetDefaultHeader and SetDefaultFooter instead. This method will be removed in a future release.", true)]
+ [Obsolete("This method is deprecated. Use SetDefaultHeader and SetDefaultFooter instead. This method will be removed at v3.0.0", true)]
public static void SetDefaultBanner((string, string, string)? header = null, (string, string, string)? footer = null)
{
header ??= DefaultHeader;
@@ -292,7 +292,7 @@ public static void WritePositionedStyledText(string[]? text = null, int? line =
/// The banner to print.
/// If true, the banner is printed at the top of the console. If false, the banner is printed at the bottom of the console.
/// If true, the title is not continuously printed.
- [Obsolete("This method is deprecated. Use WriteHeader and WriteFooter instead. This method will be removed in a future release.", true)]
+ [Obsolete("This method is deprecated. Use WriteHeader and WriteFooter instead. This method will be removed at v3.0.0", true)]
public static void WriteBanner(bool header = true, bool continuous = true, (string, string, string)? banner = null)
{
(string, string, string) _banner = banner ?? (header ? DefaultHeader : DefaultFooter); // If banner is null, _banner is set to the default header or footer.
@@ -338,7 +338,7 @@ public static void WriteFooter(bool continuous = true, (string, string, string)?
/// If true, the paragraph is printed in the negative colors.
/// The height of the paragraph.
/// The lines of the paragraph.
- [Obsolete("This method is deprecated. Use WriteParagraph with the placement attribute instead. This method will be removed in a future release.", true)]
+ [Obsolete("This method is deprecated. Use WriteMultiplePositionedLines with the placement attribute instead. This method will be removed at v3.0.0", true)]
public static void WriteParagraph(bool negative = false, int? line = null, params string[] text)
{
line ??= ContentHeight;