Console.Waterworks.Core is the .Net Core version of Console.Waterworks.
https://www.craigoates.net/Software/project/8
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
403 B
19 lines
403 B
7 years ago
|
using System;
|
||
|
|
||
|
namespace Console.Waterworks.Core.Attributes
|
||
|
{
|
||
|
[AttributeUsage(AttributeTargets.All)]
|
||
|
public class ListCommandAttribute : Attribute
|
||
|
{
|
||
|
public readonly bool ShowCommand;
|
||
|
public ListCommandAttribute()
|
||
|
{
|
||
|
ShowCommand = true;
|
||
|
}
|
||
|
public ListCommandAttribute(bool show)
|
||
|
{
|
||
|
ShowCommand = show;
|
||
|
}
|
||
|
}
|
||
|
}
|