예제 #1
0
 public RuntimeEnv(
     CancellationTokenSource source,
     Encoding encoding,
     MemoryConsole console,
     MemoryFS fileSystem,
     TestTimeSpec?timeSpec,
     MemorySystemEnvironment sysEnv) :
     this(source, source.Token, encoding, console, fileSystem, timeSpec, sysEnv)
 {
 }
예제 #2
0
 public RuntimeEnv(
     CancellationTokenSource source,
     CancellationToken token,
     Encoding encoding,
     MemoryConsole console,
     MemoryFS fileSystem,
     TestTimeSpec?timeSpec,
     MemorySystemEnvironment sysEnv)
 {
     Source     = source;
     Token      = token;
     Encoding   = encoding;
     Console    = console;
     FileSystem = fileSystem;
     TimeSpec   = timeSpec ?? TestTimeSpec.RunningFromNow();
     SysEnv     = sysEnv;
 }
예제 #3
0
 public ConsoleIO(MemoryConsole mem) =>
 this.mem = mem;