C# Class Rock.Attribute.BooleanFieldAttribute

Inheritance: FieldAttribute
Exibir arquivo Open project: NewSpring/Rock

Public Methods

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

Initializes a new instance of the BooleanFieldAttribute class.

BooleanFieldAttribute ( string name, string trueText, string falseText, string description = "", bool defaultValue = false, string category = "", int order, string key = null ) : System

Initializes a new instance of the BooleanFieldAttribute class.

Method Details

BooleanFieldAttribute() public method

Initializes a new instance of the BooleanFieldAttribute class.
public BooleanFieldAttribute ( string name, string description = "", bool defaultValue = false, string category = "", int order, string key = null ) : System
name string The name.
description string The description.
defaultValue bool if set to true [default value].
category string The category.
order int The order.
key string The key. (null means derive from name)
return System

BooleanFieldAttribute() public method

Initializes a new instance of the BooleanFieldAttribute class.
public BooleanFieldAttribute ( string name, string trueText, string falseText, string description = "", bool defaultValue = false, string category = "", int order, string key = null ) : System
name string The name.
trueText string The true text.
falseText string The false text.
description string The description.
defaultValue bool if set to true [default value].
category string The category.
order int The order.
key string The key.
return System