C# Класс RockWeb.Plugins.cc_newspring.Blocks.Metrics.Metrics

Наследование: Rock.Web.UI.RockBlock
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
ContextPreferenceName string

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
DisplayTextValue ( ) : void

Displays the text value.

LoadSourceGuids ( ) : void

Loads the source guids.

Описание методов

FilterMetricValuesByPartition() защищенный Метод

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].
Результат IQueryable

FormatValues() защищенный Метод

Formats the values.
protected FormatValues ( ) : decimal
Результат decimal

GetMetricValues() защищенный Метод

Gets the metric values.
protected GetMetricValues ( bool isPrimary ) : List
isPrimary bool if set to true [is primary].
Результат List

GetValueAggregate() защищенный Метод

Gets the value aggregate.
protected GetValueAggregate ( List values, bool isPrimary ) : decimal
values List The values.
isPrimary bool if set to true [is primary].
Результат decimal

OnLoad() защищенный Метод

Raises the E:System.Web.UI.Control.Init event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Результат void

Описание свойств

ContextPreferenceName защищенное статическое свойство

The string used for setting a Date Range Context Set via RockWeb.Blocks.Core.DateRangeContextSetter
protected static string ContextPreferenceName
Результат string