C# Class RockWeb.Plugins.cc_newspring.Blocks.Metrics.Metrics

Inheritance: Rock.Web.UI.RockBlock
Datei anzeigen Open project: NewSpring/Rock

Protected Properties

Property Type Description
ContextPreferenceName string

Protected Methods

Method Description
FilterMetricValuesByPartition ( IQueryable values, string partitionName, int entityId, bool filterOnNull = false ) : IQueryable

Filters the metric values by partition.

FormatValues ( ) : decimal

Formats the values.

GetMetricValues ( bool isPrimary ) : List

Gets the metric values.

GetValueAggregate ( List values, bool isPrimary ) : decimal

Gets the value aggregate.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

Private Methods

Method Description
DisplayTextValue ( ) : void

Displays the text value.

LoadSourceGuids ( ) : void

Loads the source guids.

Method Details

FilterMetricValuesByPartition() protected method

Filters the metric values by partition.
protected FilterMetricValuesByPartition ( IQueryable values, string partitionName, int entityId, bool filterOnNull = false ) : IQueryable
values IQueryable The values.
partitionName string Name of the partition.
entityId int The entity identifier.
filterOnNull bool if set to true [filter on null].
return IQueryable

FormatValues() protected method

Formats the values.
protected FormatValues ( ) : decimal
return decimal

GetMetricValues() protected method

Gets the metric values.
protected GetMetricValues ( bool isPrimary ) : List
isPrimary bool if set to true [is primary].
return List

GetValueAggregate() protected method

Gets the value aggregate.
protected GetValueAggregate ( List values, bool isPrimary ) : decimal
values List The values.
isPrimary bool if set to true [is primary].
return decimal

OnLoad() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
return void

Property Details

ContextPreferenceName protected_oe static_oe property

The string used for setting a Date Range Context Set via RockWeb.Blocks.Core.DateRangeContextSetter
protected static string ContextPreferenceName
return string