C# Class Entoarox.Framework.Config.ConfigDropdownAttribute

Inheritance: Entoarox.Framework.Config.ConfigAttribute
Afficher le fichier Open project: Pathoschild/smapi-mod-dump

Méthodes publiques

Méthode Description
ConfigDropdownAttribute ( string label, string description, Array options ) : System

Configs that can be accessed using IModHelperExtensions.RegisterDynamicConfig{T}(IModHelper, T, Action{T}) must use this attribute or the parent ConfigAttribute attribute on properties they wish to be dynamic. This attribute is for members of the string type where multiple options should be shown in a dropdown.

Method Details

ConfigDropdownAttribute() public méthode

Configs that can be accessed using IModHelperExtensions.RegisterDynamicConfig{T}(IModHelper, T, Action{T}) must use this attribute or the parent ConfigAttribute attribute on properties they wish to be dynamic. This attribute is for members of the string type where multiple options should be shown in a dropdown.
public ConfigDropdownAttribute ( string label, string description, Array options ) : System
label string The label to display in front of this config option.
description string The description to show when the label for this config option is hovered over, should explain what the option does.
options Array The list of dropdown options to display
Résultat System