31 lines
720 B
C#
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; }
|
|
}
|
|
}
|