Class MetricMonitorStateChangeEventArgs
Metric monitor state change event args.
Inheritance
System.Object
MetricMonitorStateChangeEventArgs
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class MetricMonitorStateChangeEventArgs : object
Constructors
MetricMonitorStateChangeEventArgs(MetricMonitorState, Int32, Int32, Single)
Construct MetricMonitorStateChangeEventArgs
Declaration
public MetricMonitorStateChangeEventArgs(MetricMonitorState state, int value, int threshold, float trend)
Parameters
| Type | Name | Description |
|---|---|---|
| MetricMonitorState | state | |
| System.Int32 | value | |
| System.Int32 | threshold | |
| System.Single | trend |
Properties
State
Gets the monitor's State.
Declaration
public MetricMonitorState State { get; }
Property Value
| Type | Description |
|---|---|
| MetricMonitorState |
Threshold
Gets the metric's threshold value.
Declaration
public int Threshold { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Trend
Gets the metric's trend.
Declaration
public float Trend { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Value
Gets the metric value.
Declaration
public int Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |