• Home
  • Blog
  • Docs
  • GitHub
Show / Hide Table of Contents

Interface ISelectionOptionDescriptor

An option descriptor for options with type Selection Describes the available options by introspecting the backing EnumType.

Namespace: Snowflake.Configuration
Assembly: Snowflake.Framework.Primitives.dll
Syntax
public interface ISelectionOptionDescriptor

Properties

DisplayName

Gets the display name of this selection option.

Declaration
string DisplayName { get; }
Property Value
Type Description
System.String

EnumName

Gets the name of the enumeration value this selection option is backed by.

Declaration
string EnumName { get; }
Property Value
Type Description
System.String

EnumType

Gets the CLR enumeration type this selection value is of.

Declaration
Type EnumType { get; }
Property Value
Type Description
System.Type

NumericValue

Gets the numeric value that represents this selection in the context of the enumeration type.

Declaration
int NumericValue { get; }
Property Value
Type Description
System.Int32

Private

Gets a value indicating whether whether or not this selection is to be shown to the user

Declaration
bool Private { get; }
Property Value
Type Description
System.Boolean

SerializeAs

Gets the value this selection option appears in the serialized configuration.

Declaration
string SerializeAs { get; }
Property Value
Type Description
System.String
Built with ❤️ by @chyyran. Text content licensed under CC-BY-SA 4.0.