Remove Style.Clone method

Closes #362
This commit is contained in:
Patrik Svensson 2021-04-11 22:51:57 +02:00 committed by Phil Scott
parent 6a5c507936
commit 1fc6f22ea9

View File

@ -93,15 +93,6 @@ namespace Spectre.Console
return new Style(link: link);
}
/// <summary>
/// Creates a copy of the current <see cref="Style"/>.
/// </summary>
/// <returns>A copy of the current <see cref="Style"/>.</returns>
public Style Clone()
{
return new Style(Foreground, Background, Decoration, Link);
}
/// <summary>
/// Combines this style with another one.
/// </summary>