Exemplo n.º 1
0
        private static IValidatorRule Parse(TryType tryType, Dictionary <String, Object> objectStorage)
        // throws CertificateValidationException
        {
            var filteredRules = tryType.ExtensibleTypeData[0].ExtensibleType_Type_Group.ToList();

            foreach (var rule in filteredRules)
            {
                try
                {
                    return(Parse(rule, objectStorage));
                }
                catch (Exception)
                {
                    // No action
                }
            }

            throw new CertificateValidationException("Unable to find valid rule in try.");
        }
Exemplo n.º 2
0
 get => this.GetOptional(TryType, Type.Parse);