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
public interface ICacheService | |
{ | |
T Get<T>(string cacheID, Func<T> getItemCallback) where T : class; | |
} |
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
Action<string> log; | |
Action clearLog; | |
log = (x => | |
{ | |
x = DateTime.Now.ToString(@"hh\:mm\:ss") + " " + x; | |
txtLog.AppendText(String.IsNullOrWhiteSpace(txtLog.Text) == false ? Environment.NewLine + x : x); | |
}); | |
clearLog = (() => txtLog.Text = String.Empty); |
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
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Net.Http; | |
using System.Reactive.Linq; | |
using System.Text; | |
using System.Threading; |