Class DecimalGauge
Represents a general-purpose decimal measurement datum
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Instrumentation
Assembly: Azos.dll
Syntax
[Serializable]
public abstract class DecimalGauge : Gauge, IArchiveLoggable, IBSONSerializable, IBSONDeserializable, IJSONWritable
Constructors
DecimalGauge(String, Decimal)
Declaration
protected DecimalGauge(string source, decimal value)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.Decimal | value |
DecimalGauge(String, Decimal, DateTime)
Declaration
protected DecimalGauge(string source, decimal value, DateTime utcDateTime)
Parameters
Type | Name | Description |
---|---|---|
System.String | source | |
System.Decimal | value | |
System.DateTime | utcDateTime |
Properties
Value
Gets gauge value
Declaration
public decimal Value { get; }
Property Value
Type | Description |
---|---|
System.Decimal |
ValueAsObject
Declaration
public override object ValueAsObject { get; }
Property Value
Type | Description |
---|---|
System.Object |
Overrides
ValueUnitName
Declaration
public override string ValueUnitName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
AggregateEvent(Datum)
Declaration
protected override void AggregateEvent(Datum dat)
Parameters
Type | Name | Description |
---|---|---|
Datum | dat |
Overrides
DeserializeFromBSON(BSONSerializer, BSONDocument, ref Object)
Declaration
public override void DeserializeFromBSON(BSONSerializer serializer, BSONDocument doc, ref object context)
Parameters
Type | Name | Description |
---|---|---|
BSONSerializer | serializer | |
BSONDocument | doc | |
System.Object | context |
Overrides
SerializeToBSON(BSONSerializer, BSONDocument, IBSONSerializable, ref Object)
Declaration
public override void SerializeToBSON(BSONSerializer serializer, BSONDocument doc, IBSONSerializable parent, ref object context)
Parameters
Type | Name | Description |
---|---|---|
BSONSerializer | serializer | |
BSONDocument | doc | |
IBSONSerializable | parent | |
System.Object | context |
Overrides
SummarizeAggregation()
Declaration
protected override void SummarizeAggregation()