14 lines
293 B
C#
14 lines
293 B
C#
using YamlDotNet.Serialization;
|
|
|
|
namespace ErsatzTV.Core.Graphics;
|
|
|
|
public class BaseGraphicsElement
|
|
{
|
|
public string Name { get; set; }
|
|
|
|
[YamlIgnore]
|
|
public string SourceFileName { get; set; }
|
|
|
|
public string DebugName() => string.IsNullOrEmpty(Name) ? SourceFileName : Name;
|
|
}
|