Seal attributes

This commit is contained in:
Tyrrrz
2021-03-25 06:01:46 +02:00
parent 544945c0e6
commit c5a111207f
3 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ namespace CliFx.Attributes
/// Annotates a type that defines a command. /// Annotates a type that defines a command.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Class, Inherited = false)] [AttributeUsage(AttributeTargets.Class, Inherited = false)]
public class CommandAttribute : Attribute public sealed class CommandAttribute : Attribute
{ {
/// <summary> /// <summary>
/// Command's name. /// Command's name.

View File

@@ -7,7 +7,7 @@ namespace CliFx.Attributes
/// Annotates a property that defines a command option. /// Annotates a property that defines a command option.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Property)] [AttributeUsage(AttributeTargets.Property)]
public class CommandOptionAttribute : Attribute public sealed class CommandOptionAttribute : Attribute
{ {
/// <summary> /// <summary>
/// Option name. /// Option name.

View File

@@ -7,7 +7,7 @@ namespace CliFx.Attributes
/// Annotates a property that defines a command parameter. /// Annotates a property that defines a command parameter.
/// </summary> /// </summary>
[AttributeUsage(AttributeTargets.Property)] [AttributeUsage(AttributeTargets.Property)]
public class CommandParameterAttribute : Attribute public sealed class CommandParameterAttribute : Attribute
{ {
/// <summary> /// <summary>
/// Parameter order. /// Parameter order.