C# Class Rock.Attribute.SlidingDateRangeFieldAttribute

Inheritance: FieldAttribute
Datei anzeigen Open project: NewSpring/Rock

Public Methods

Method Description
SlidingDateRangeFieldAttribute ( string name, string description, bool required, string defaultValue, string category, int order, string key, string enabledSlidingDateRangeTypes ) : System

Initializes a new instance of the SlidingDateRangeFieldAttribute class.

SlidingDateRangeFieldAttribute ( string name, string description = "", bool required = true, string defaultValue = ",", string category = "", int order, string key = null, string enabledSlidingDateRangeTypes = null, string enabledSlidingDateRangeUnits = null ) : System

Initializes a new instance of the SlidingDateRangeFieldAttribute class.

Method Details

SlidingDateRangeFieldAttribute() public method

Initializes a new instance of the SlidingDateRangeFieldAttribute class.
public SlidingDateRangeFieldAttribute ( string name, string description, bool required, string defaultValue, string category, int order, string key, string enabledSlidingDateRangeTypes ) : System
name string The name.
description string The description.
required bool if set to true [required].
defaultValue string The default value.
category string The category.
order int The order.
key string The key.
enabledSlidingDateRangeTypes string The enabled sliding date range types. Choose from: 'Previous, Last, Current, Next, Upcoming, DateRange'
return System

SlidingDateRangeFieldAttribute() public method

Initializes a new instance of the SlidingDateRangeFieldAttribute class.
public SlidingDateRangeFieldAttribute ( string name, string description = "", bool required = true, string defaultValue = ",", string category = "", int order, string key = null, string enabledSlidingDateRangeTypes = null, string enabledSlidingDateRangeUnits = null ) : System
name string The name.
description string The description.
required bool if set to true [required].
defaultValue string The default value.
category string The category.
order int The order.
key string The key.
enabledSlidingDateRangeTypes string The enabled sliding date range types. Choose from: 'Previous, Last, Current, Next, Upcoming, DateRange'
enabledSlidingDateRangeUnits string The enabled sliding date range units.
return System