示例#1
0
        public async Task <PrimitiveValue <bool> > GetIsInstalled([CommandParameter(FromBody = true)] IsInstalledQuery body)
        {
            if (!_isLoaded)
            {
                PostLoad();
            }
            var result = ProgramsRepository.IsInstalled(body.DisplayName);

            return(new PrimitiveValue <bool>(result));
        }
示例#2
0
        public PrimitiveValue <bool> GetIsInstalled([CommandParameter(FromBody = true)] IsInstalledQuery body)
        {
            var result = ProgramsRepository.IsInstalled(body.DisplayName);

            return(new PrimitiveValue <bool>(result));
        }