mirror of
https://github.com/JKorf/CryptoExchange.Net.git
synced 2026-08-13 17:33:02 +00:00
18 lines
393 B
C#
18 lines
393 B
C#
using CryptoExchange.Net.Interfaces;
|
|
using System;
|
|
|
|
namespace CryptoExchange.Net.Testing.Implementations
|
|
{
|
|
internal class TestAuthTimeProvider : IAuthTimeProvider
|
|
{
|
|
private readonly DateTime _timestamp;
|
|
|
|
public TestAuthTimeProvider(DateTime timestamp)
|
|
{
|
|
_timestamp = timestamp;
|
|
}
|
|
|
|
public DateTime GetTime() => _timestamp;
|
|
}
|
|
}
|