Skip to content

Show a real example, moving the clock on and use without a container - #15

Merged
stphnwlsh merged 3 commits into
mainfrom
feature/readme-examples
Dec 2, 2026
Merged

stphnwlsh merged 3 commits into
mainfrom
feature/readme-examples

Conversation

@stphnwlsh

Copy link
Copy Markdown
Owner

The README showed every part of the API but didn't do much selling, so the examples now earn their keep.

  • A real example: a TrialChecker that knows when a free trial is over, instead of printing the date.
  • Moving the clock on: the test sits one second before the trial ends, then moves UtcNow forward and checks again.
  • No container: one line for console apps and older .NET Framework code that new things up by hand.
  • using lines: every snippet now compiles when it's pasted.

Both READMEs change, the NuGet one more briefly. The package README lives under src/, so this goes out with the 1 January release alongside the new icon in #14.

@stphnwlsh stphnwlsh self-assigned this Dec 2, 2026
@stphnwlsh
stphnwlsh merged commit 940752b into main Dec 2, 2026
6 checks passed
@stphnwlsh
stphnwlsh deleted the feature/readme-examples branch December 2, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant