Exemple #1
0
        private IISOptions?Options(string commandLine)
        {
            var optionsParser = new ArgumentsParser(log, plugins, commandLine.Split(' '));
            var arguments     = new ArgumentsService(log, optionsParser);
            var x             = new IISOptionsFactory(log, helper, arguments, userRoleService);

            return(x.Default().Result);
        }
Exemple #2
0
        private IISOptions?Options(string commandLine)
        {
            var optionsParser = new ArgumentsParser(log, plugins, commandLine.Split(' '));
            var input         = new mock.InputService(new());
            var secretService = new SecretServiceManager(new mock.SecretService(), input, log);
            var argsInput     = new ArgumentsInputService(log, optionsParser, input, secretService);
            var args          = new MainArguments();
            var x             = new IISOptionsFactory(log, helper, args, argsInput, userRoleService);

            return(x.Default().Result);
        }