-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.DateTime
Description
Background and motivation
Testability is a motivation for introduction of TimeProvider
class, thus it would be benefitial for the developers to find out about extras from the documntation.
Curruntly there is no mentioning of FakeTimeProvider
class in xmldoc.
API Proposal
I propose to add <remarks>
section which will cotnain something like the following:
/// <summary>Provides an abstraction for time.</summary>
/// <remarks>Use FakeTimeProvider class from package Microsoft.Extensions.TimeProvider.Testing for convenient testing.</remarks>
public abstract class TimeProvider
API Usage
N/A
Alternative Designs
No response
Risks
If you ever change the name of the FakeTimeProvider
or its package, documentation will become stale.
Metadata
Metadata
Assignees
Labels
Pri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.DateTime