-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de9eeed
commit 3b838a4
Showing
4 changed files
with
12 additions
and
27 deletions.
There are no files selected for viewing
20 changes: 0 additions & 20 deletions
20
src/Microsoft.FeatureManagement/FeatureFilters/ISystemClock.cs
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
using Microsoft.FeatureManagement.FeatureFilters; | ||
using System; | ||
using System; | ||
|
||
namespace Tests.FeatureManagement | ||
{ | ||
class OnDemandClock : ISystemClock | ||
class OnDemandClock : TimeProvider | ||
{ | ||
public DateTimeOffset UtcNow { get; set; } | ||
|
||
public override DateTimeOffset GetUtcNow() | ||
{ | ||
return UtcNow; | ||
} | ||
} | ||
} |