Ejemplo n.º 1
0
        public override ValidationResult Test()
        {
            var failures = new List <ValidationFailure>();

            failures.AddIfNotNull(_xbmcService.Test(Settings, "Success! PHT has been successfully configured!"));

            return(new ValidationResult(failures));
        }
Ejemplo n.º 2
0
        public override ValidationResult Test()
        {
            var failures = new List <ValidationFailure>();

            failures.AddIfNotNull(_xbmcService.Test(Settings));

            return(new ValidationResult(failures));
        }