Class CounterOptions
Configuration of a
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:App.Metrics.Core.Options
Assembly:cs.temp.dll.dll
Syntax
public class CounterOptions : MetricValueOptionsBase
Constructors
CounterOptions()
Declaration
public CounterOptions()
Properties
ReportItemPercentages
Gets or sets a value indicating whether the counter's set items should be reported. Defaults to true
.
Declaration
public bool ReportItemPercentages { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ReportSetItems
Gets or sets a value indicating whether or not to report the counter's set items. Defaults to true
.
Declaration
public bool ReportSetItems { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
ResetOnReporting
Gets or sets a value indicating whether the counter should be reset when it is reported, otherwise counts are
cummulative. Note: If using more than one reporter, the count will be reset for the first reporter which sends
the value. Defaults to false
.
Declaration
public bool ResetOnReporting { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|