Class HintAttribute
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class HintAttribute : Attribute
Constructors
| Improve this Doc View SourceHintAttribute(String, String, HintType)
Hint attribute constructor
Declaration
public HintAttribute(string alias, string hint, HintType hintType = HintType.Select)
Parameters
Type | Name | Description |
---|---|---|
String | alias | Data source alias |
String | hint | Hint text |
HintType | hintType | Hint type |
Properties
| Improve this Doc View SourceAlias
Data source alias to apply hint
Declaration
public string Alias { get; }
Property Value
Type | Description |
---|---|
String |
Hint
Hint
Declaration
public HintInfo Hint { get; }
Property Value
Type | Description |
---|---|
HintInfo |
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
Declaration
public override object TypeId { get; }
Property Value
Type | Description |
---|---|
Object | An Object that is a unique identifier for the attribute. |