Beispiel #1
0
        public Task Append(ResponseEntry entry)
        {
            Argument.NotNull(entry, nameof(entry));

            CacheLock.EnterWriteLock();
            try
            {
                Instances.Add(entry);
            }
            finally
            {
                CacheLock.ExitWriteLock();
            }
            return(Task.FromResult(0));
        }
Beispiel #2
0
 public Task Append(ResponseEntry entry)
 {
     return(Task.FromResult(0));
 }