Class MinimumMaximumMeanDouble
Represents a minimum, maximun and mean value.
Inheritance
Namespace: MESL.SqlRace.Domain
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class MinimumMaximumMeanDouble : Object
Remarks
This class is used when subsampling data using a ParameterDataAccess object.
Constructors
MinimumMaximumMeanDouble(Double, Double, Double)
Initialises a new instance of the MinimumMaximumMeanDouble class Creates a new object based on values passed.
Declaration
public MinimumMaximumMeanDouble(double min, double max, double mean)
Parameters
Type | Name | Description |
---|---|---|
System.Double | min | Minimum value |
System.Double | max | Maximum value |
System.Double | mean | Mean value |
Properties
Maximum
Gets the maximum value
Declaration
public double Maximum { get; }
Property Value
Type | Description |
---|---|
System.Double |
Mean
Gets the mean value
Declaration
public double Mean { get; }
Property Value
Type | Description |
---|---|
System.Double |
Minimum
Gets the minimum value
Declaration
public double Minimum { get; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
Equals(MinimumMaximumMeanDouble)
Determines whether the specified object is equal to the current object.
Declaration
public bool Equals(MinimumMaximumMeanDouble comparer)
Parameters
Type | Name | Description |
---|---|---|
MinimumMaximumMeanDouble | comparer | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified object is equal to the current object; otherwise, false. |
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The object to compare with the current object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the specified object is equal to the current object; otherwise, false. |
GetHashCode()
Serves as a hash function for a particular type.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for the current object. |
Populate(ParameterValues, ref MinimumMaximumMeanDouble[])
Populates array from parameter values result
Declaration
public static MinimumMaximumMeanDouble[] Populate(ParameterValues parameterValues, ref MinimumMaximumMeanDouble[] data)
Parameters
Type | Name | Description |
---|---|---|
ParameterValues | parameterValues | |
MinimumMaximumMeanDouble[] | data |
Returns
Type | Description |
---|---|
MinimumMaximumMeanDouble[] |
ToString()
Returns a System.String that represents the current System.Object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A System.String that represents the current System.Object. |