66 lines
1.3 KiB
C#
66 lines
1.3 KiB
C#
// Decompiled with JetBrains decompiler
|
|||
|
|
// Type: WpfApp1.LogEntry
|
||
|
|
// Assembly: Raton, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
|
||
|
|
// MVID: 36C4E416-7F8D-4D23-930F-B5CCB0D810E7
|
||
|
|
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Raton.exe
|
||
|
|
|
||
|
|
#nullable disable
|
||
|
|
namespace WpfApp1;
|
||
|
|
|
||
|
|
public class LogEntry
|
||
|
|
{
|
||
|
|
public string Time { get; set; }
|
||
|
|
|
||
|
|
public string Message { get; set; }
|
||
|
|
|
||
|
|
public LogType Type { get; set; }
|
||
|
|
|
||
|
|
public string IconGlyph
|
||
|
|
{
|
||
|
|
get
|
||
|
|
{
|
||
|
|
switch (this.Type)
|
||
|
|
{
|
||
|
|
case LogType.Success:
|
||
|
|
return "\uE73E";
|
||
|
|
case LogType.Error:
|
||
|
|
return "\uEA39";
|
||
|
|
default:
|
||
|
|
return "\uE946";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public string IconColor
|
||
|
|
{
|
||
|
|
get
|
||
|
|
{
|
||
|
|
switch (this.Type)
|
||
|
|
{
|
||
|
|
case LogType.Success:
|
||
|
|
return "#4CAF50";
|
||
|
|
case LogType.Error:
|
||
|
|
return "#EF5350";
|
||
|
|
default:
|
||
|
|
return "#4A94BC";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
public string TextColor
|
||
|
|
{
|
||
|
|
get
|
||
|
|
{
|
||
|
|
switch (this.Type)
|
||
|
|
{
|
||
|
|
case LogType.Success:
|
||
|
|
return "#4CAF50";
|
||
|
|
case LogType.Error:
|
||
|
|
return "#EF5350";
|
||
|
|
default:
|
||
|
|
return "#4A94BC";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|