Exemplo n.º 1
0
        /// <summary>
        /// Initializes an instance of <see cref="CliApplication"/>.
        /// </summary>
        public CliApplication(
            ApplicationMetadata metadata, ApplicationConfiguration configuration,
            IConsole console, ITypeActivator typeActivator)
        {
            _metadata      = metadata;
            _configuration = configuration;
            _console       = console;
            _typeActivator = typeActivator;

            _helpTextWriter = new HelpTextWriter(metadata, console);
        }