Class DataTypeNameAttribute
Defines a data type name attached to a IDataTypeDetector.
Inherited Members
Namespace: DevToys.Api
Assembly: DevToys.Api.dll
Syntax
[MetadataAttribute]
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public sealed class DataTypeNameAttribute : Attribute
Constructors
DataTypeNameAttribute(string, string?)
Initializes a new instance of the DataTypeNameAttribute class.
Declaration
public DataTypeNameAttribute(string name, string? baseName = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | The data type name. |
string | baseName | The data type base name. |
Properties
DataTypeBaseName
Gets the data type base name.
Declaration
public string? DataTypeBaseName { get; }
Property Value
Type | Description |
---|---|
string |
DataTypeName
Gets the data type name.
Declaration
public string DataTypeName { get; }
Property Value
Type | Description |
---|---|
string |