public MozillaOnlyFilter() { Log = new NullLogger(); Enabled = true; Redirect = true; RedirectController = "home"; RedirectAction = "mozilla"; MinGeckoRelease = DefaultMinimumGeckoRelease; }
public string Start(string testString) { var ms1 = new MemoryStream(Encoding.Default.GetBytes(testString)); var sr = new StreamReader(ms1); var ms2 = new MemoryStream(); var sw = new StreamWriter(ms2); ILogger logger = new NullLogger(); var target = new Manager( new Cashpoint(true, new Dictionary<uint, uint>(), logger), new StubRepository<CashpointState>(), sr, sw, false); target.Start(); var byffer = ms2.GetBuffer(); var outputString = Encoding.Default.GetString(byffer); return outputString; }
public BaseController() { Logger = new NullLogger(); }