Exemplo n.º 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)
 {
 }
Exemplo n.º 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;
 }
Exemplo n.º 3
0
 public EnvironmentIO(MemorySystemEnvironment env) =>
 this.env = env;