Skip to content

Tracking: "continuous" upper boundary with comparer. #12

@SingleAccretion

Description

@SingleAccretion

Definition

  • IEquatable<T>: implicit implementation.
  • Equals: value semantics.
  • GetHashCode: value semantics.
  • ToString.
  • Type: never throws, returns a backing field.
public BoundaryType Type { get; }
  • Value: never throws, returns a backing field.
public T Value { get; }

Implementation

  • Equals
  • GetHashCode
  • ToString
  • Type
  • Value

Tests

  • With System.Double as a type argument and a custom comparer:
    • Equals
    • GetHashCode
    • ToString
    • Type
    • Value
  • With custom class as a type argument and a custom comparer:
    • Equals
    • GetHashCode
    • ToString
    • Type
    • Value

XML documentation

  • Equals
  • GetHashCode
  • ToString
  • Type
  • Value

Proper documentation

  • Equals
  • GetHashCode
  • ToString
  • Type
  • Value

Metadata

Metadata

Assignees

No one assigned

    Labels

    TrackingWork items related to the addition of new APIs or other improvements

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions