Exemple #1
0
        private bool CheckNativeMessagingInput(CLICommand command)
        {
            if (command.Command.Equals("NativeMessagingInput", StringComparison.InvariantCultureIgnoreCase))
            {
                if (!string.IsNullOrEmpty(command.Parameter) && command.Parameter.EndsWith(".json", StringComparison.OrdinalIgnoreCase))
                {
                    TaskHelpers.HandleNativeMessagingInput(command.Parameter);
                }

                return(true);
            }

            return(false);
        }