mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
27 lines
743 B
C#
27 lines
743 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Wabbajack.Common.StatusFeed
|
|
{
|
|
public class GenericInfo : AStatusMessage, IInfo
|
|
{
|
|
public override string ShortDescription { get; }
|
|
private readonly string _extendedDescription;
|
|
public override string ExtendedDescription => _extendedDescription ?? ShortDescription;
|
|
|
|
public GenericInfo(string short_description, string long_description = null)
|
|
{
|
|
ShortDescription = short_description;
|
|
_extendedDescription = long_description;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return ShortDescription;
|
|
}
|
|
}
|
|
}
|