Class NameAttribute
Defines the internal name of this component. This name can be used to explicitly request this component to be invoked.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class NameAttribute : Attribute
Constructors
NameAttribute(string)
Initializes a new instance of the NameAttribute class with the specified internal component name.
Declaration
public NameAttribute(string internalComponentName)
Parameters
Type | Name | Description |
---|---|---|
string | internalComponentName | The internal name of the component. |
Properties
InternalComponentName
Gets the internal name of this component.
Declaration
public string InternalComponentName { get; }
Property Value
Type | Description |
---|---|
string |