예제 #1
0
        public TimeSpan GetConsoleTtl(ConsoleId consoleId)
        {
            if (consoleId == null)
            {
                throw new ArgumentNullException(nameof(consoleId));
            }

            return(_connection.GetHashTtl(consoleId.GetHashKey()));
        }
예제 #2
0
 public override TimeSpan GetHashTtl(string key)
 {
     return(_sqlServerConnection.GetHashTtl(key));
 }