fix: No longer the need to rely on string interpolation

This commit is contained in:
Mira 2022-11-29 08:11:51 +01:00
parent cc976c86a1
commit c21f2dae76
Signed by untrusted user who does not match committer: Xorog
GPG key ID: 983798ED9C3E7C36
4 changed files with 401 additions and 149 deletions

13
Entities/StringPart.cs Normal file
View file

@ -0,0 +1,13 @@
namespace Xorog.Logger.Entities;
internal class StringPart : IDisposable
{
internal string String { get; set; }
internal ConsoleColor? Color { get; set; }
public void Dispose()
{
String = "";
Color = null;
}
}