예제 #1
0
        public CommandLinePayload(CommandLineActivationOperation operation, IStorageFolder folder)
        {
            Operation         = operation;
            OriginalArguments = operation.Arguments;
            CurrentDirectory  = new NGFolder(folder);
            var parsedCommand = CommandLineUtilities.Parse(operation.Arguments);

            Command    = parsedCommand.Command;
            Parameters = parsedCommand.Parameters;
        }