Class GristChoiceAttribute
When applied to an enum member, a choice with this name in Grist will be mapped to the enum.
Inherited Members
Namespace: Grist4NET
Assembly: Grist4NET.dll
Syntax
[AttributeUsage(AttributeTargets.Field)]
public sealed class GristChoiceAttribute : Attribute
Constructors
GristChoiceAttribute(string)
When applied to an enum member, a choice with this name in Grist will be mapped to the enum.
Declaration
public GristChoiceAttribute(string choice)
Parameters
| Type | Name | Description |
|---|---|---|
| string | choice | Choice name in Grist |
Properties
Choice
Choice name in Grist
Declaration
public string Choice { get; }
Property Value
| Type | Description |
|---|---|
| string |