Class CommandNameAttribute
Defines the name of the CLI command of a ICommandLineTool.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class CommandNameAttribute : Attribute
Properties
Alias
Gets or sets the alias name of the option. Example, "f".
Declaration
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
string |
DescriptionResourceName
Gets or sets name of the localized resource that provides a description.
Declaration
public string DescriptionResourceName { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets the name of the command. Example, "file".
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ResourceManagerBaseName
Gets or sets the name of the resource manager's base name to use when looking for DescriptionResourceName.
Declaration
public string ResourceManagerBaseName { get; set; }
Property Value
Type | Description |
---|---|
string |