Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
21 of 31 tasks
SingleAccretion opened this issue Jun 23, 2020 · 0 comments
Open
21 of 31 tasks

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

SingleAccretion opened this issue Jun 23, 2020 · 0 comments
Labels
Tracking Work items related to the addition of new APIs or other improvements

Comments

@SingleAccretion
Copy link
Owner

SingleAccretion commented Jun 23, 2020

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
@SingleAccretion SingleAccretion added the Tracking Work items related to the addition of new APIs or other improvements label Jun 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tracking Work items related to the addition of new APIs or other improvements
Projects
None yet
Development

No branches or pull requests

1 participant