From 1fc6f22ea9cc178c85c45fead38e840e2c6f5493 Mon Sep 17 00:00:00 2001 From: Patrik Svensson Date: Sun, 11 Apr 2021 22:51:57 +0200 Subject: [PATCH] Remove Style.Clone method Closes #362 --- src/Spectre.Console/Style.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Spectre.Console/Style.cs b/src/Spectre.Console/Style.cs index 28637c6..018e899 100644 --- a/src/Spectre.Console/Style.cs +++ b/src/Spectre.Console/Style.cs @@ -93,15 +93,6 @@ namespace Spectre.Console return new Style(link: link); } - /// - /// Creates a copy of the current . - /// - /// A copy of the current . - public Style Clone() - { - return new Style(Foreground, Background, Decoration, Link); - } - /// /// Combines this style with another one. ///