Class AcceptedDataTypeNameAttribute
Defines a data type accepted by the IGuiTool as an input. This information is used to identify what tool can be recommended based on Smart Detection finding. The value of DataTypeName should match a name defined by a DataTypeName in a IDataTypeDetector.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class AcceptedDataTypeNameAttribute : Attribute
Constructors
AcceptedDataTypeNameAttribute(string)
Initializes a new instance of the AcceptedDataTypeNameAttribute class.
Declaration
public AcceptedDataTypeNameAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the accepted data type. |
Properties
DataTypeName
Gets the name of the accepted data type.
Declaration
public string DataTypeName { get; }
Property Value
Type | Description |
---|---|
string |