public override int GetHashCode() { int result = 1; result = (31 * result) + CanonicalCode.GetHashCode(); result = (31 * result) + Description.GetHashCode(); return(result); }
public Bucket GetErrorBucket(CanonicalCode code) { return(errorBuckets[(int)code - 1]); }
internal Status(CanonicalCode canonicalCode, string description = null) { this.CanonicalCode = canonicalCode; this.Description = description; }
public static Status ToStatus(this CanonicalCode code) { return(new Status(code)); }