Class MetricPair
Metric, in the form of string->int
Carrier object for MetricPair.Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
public class MetricPair : Object
Constructors
MetricPair()
Default constructor
Declaration
public MetricPair()
Properties
Name
The name of the metric
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Value
The value of the metric
Declaration
public virtual int Value { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | The carrier contents. |
ToString(String)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
Type | Name | Description |
---|---|---|
String | prefix | The line prefix (typically used for indenting) |
Returns
Type | Description |
---|---|
String | The carrier contents. |