skyscraper8/GUIs/skyscraper5.UI/StreamAcquisition/StreamAcquirerAttribute.cs
feyris-tan ef86554f9a Import
2025-05-12 22:09:16 +02:00

31 lines
720 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace skyscraper5.UI.StreamAcquisition
{
[AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = false)]
sealed class StreamAcquirerAttribute : Attribute
{
public StreamAcquirerAttribute(string name, string description)
{
Name = name;
Description = description;
Hidden = false;
}
public StreamAcquirerAttribute(string name, string description, bool hidden)
{
Name = name;
Description = description;
Hidden = hidden;
}
public string Name { get; }
public string Description { get; }
public bool Hidden { get; }
}
}