public SourceDump(SourceDumperOptions options, UsageDefinition definition, IEnvironment environment, IDebugger debugger, IConsole console, IVersion versionGetter, IWriterFactory factory) : base(options, definition, environment, debugger, console, versionGetter) { _factory = factory; }
public void CheckArgumentsAreUsable() { var definition = new UsageDefinition(); definition.Arguments.Add(new Argument {Name = "MyFirstArg"}); Assert.IsNotNull(definition.Arguments); Assert.AreEqual(1, definition.Arguments.Count); Assert.IsNotNull(definition.Arguments[0]); Assert.AreEqual("MyFirstArg", definition.Arguments[0].Name); }
protected ProgramDefinition(Options options, UsageDefinition definition, IEnvironment environment, IDebugger debugger, IConsole console, IVersion versionGetter) { _options = options; _definition = definition; _environment = environment; _debugger = debugger; _console = console; _versionGetter = versionGetter; }
public ReferenceManager(IUnityContainer container, ReferenceOptions options, UsageDefinition definition, IEnvironment environment, IDebugger debugger, IConsole console, IVersion versionGetter) : base(options, definition, environment, debugger, console, versionGetter) { _container = container; }
public ConsoleMain(Options options, UsageDefinition definition, IEnvironment environment, IDebugger debugger, IConsole console, IVersion versionGetter) : base(options, definition, environment, debugger, console, versionGetter) { }
public void CheckNameIsTheProcessName() { var definition = new UsageDefinition(); Assert.AreEqual(Process.GetCurrentProcess().ProcessName, definition.ExeName); }