C# Class Rock.Attribute.EnumFieldAttribute

Inheritance: FieldAttribute
Exibir arquivo Open project: NewSpring/Rock

Public Methods

Method Description
EnumFieldAttribute ( string name, string description, Type enumSourceType, bool required = false, string defaultValue = "", string category = "", int order, string key = null ) : System

Initializes a new instance of the EnumFieldAttribute class.

Method Details

EnumFieldAttribute() public method

Initializes a new instance of the EnumFieldAttribute class.
public EnumFieldAttribute ( string name, string description, Type enumSourceType, bool required = false, string defaultValue = "", string category = "", int order, string key = null ) : System
name string The name.
description string The description.
enumSourceType System.Type Type of the enum source.
required bool if set to true [required].
defaultValue string The default value. If multiple values are supported (i.e. checkbox) each value should be delimited by a comma
category string The category.
order int The order.
key string The key.
return System