Click or drag to resize

RegressionTag Structure

Tags that the API adds to Regression objects to indicate why it included them in a RegressionResponse.
Inheritance Hierarchy
SystemObject
  SystemValueType
    DegreeDays.Api.RegressionsRegressionTag

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public struct RegressionTag : IEquatable<RegressionTag>

The RegressionTag type exposes the following members.

Methods
 NameDescription
Public methodEquals(Object) Returns true if obj is the same RegressionTag as this; false otherwise.
(Overrides ValueTypeEquals(Object))
Public methodEquals(RegressionTag) Returns true if other represents the same regression tag; false otherwise.
Public methodStatic memberFromString Returns the non-null RegressionTag with the specified String (returned by its ToString method).
Public methodGetHashCode Overridden to ensure consistency with Equals.
(Overrides ValueTypeGetHashCode)
Public methodStatic memberGetValues Returns an array of the available RegressionTag values.
Public methodToString Returns a non-null, non-empty string representation of this enum constant in the format used to specify a RegressionTag in the response XML ("Shortlist", "NotableOther", "Requested", or "InShortlistRange").
(Overrides ValueTypeToString)
Top
Operators
 NameDescription
Public operatorStatic memberEquality(RegressionTag, RegressionTag) Determines whether two specified RegressionTag instances are equal.
Public operatorStatic memberInequality(RegressionTag, RegressionTag) Determines whether two specified RegressionTag instances are not equal.
Top
Fields
 NameDescription
Public fieldStatic memberInShortlistRange Indicates a regression that was explicitly specified in the request, and that has strong enough statistics to appear in the Shortlist even though it wasn't auto-selected to be in the shortlist (if it was it would have the Shortlist tag instead).
Public fieldStatic memberNotableOther Indicates a regression that didn't make the Shortlist, but was considered notable.
Public fieldStatic memberRequested Indicates a regression that was explicitly specified in the request as one that should be returned.
Public fieldStatic memberShortlist Indicates a regression that was automatically selected by the API as a shortlist regression – one that looks likely to describe the usage data better than the others tested.
Top
Thread Safety
Instances of this struct are immutable and safe for use from multiple threads at once. The only values that can exist are those declared here as static readonly fields.
Version History
VersionDescription
1.4 This was added in version 1.4.
See Also