Skip to content

Instantly share code, notes, and snippets.

@aeinbu
Created July 25, 2022 14:42
Show Gist options
  • Save aeinbu/1f1c2d407f7c3694e232d5451f4d3b8f to your computer and use it in GitHub Desktop.
Save aeinbu/1f1c2d407f7c3694e232d5451f4d3b8f to your computer and use it in GitHub Desktop.
public abstract record StronglyTypedId<TValue>(TValue Value)
where TValue : notnull
{
public override sealed string ToString() => $"{Value}";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment