コード例 #1
0
 public override void Context()
 {
     ConfigurationOptions.initialize_with(new Lazy <IConsole>(() => console.Object));
     ConfigurationOptions.reset_options();
     console.Setup((c) => c.Error).Returns(errorWriter);
     console.Setup((c) => c.Out).Returns(outputWriter);
 }
コード例 #2
0
 public override void Context()
 {
     ConfigurationOptions.initialize_with(new Lazy <IConsole>(() => console.Object));
     console.Setup((c) => c.Error).Returns(writer);
 }