Esempio n. 1
0
 public AnyOfAuthenticationTypesPredicate(Property property, ShortList <string> valueEntries, RulesCreationContext creationContext) : base(property, valueEntries, creationContext)
 {
     if (!base.Property.IsString && !typeof(ClientAccessAuthenticationMethod).IsAssignableFrom(base.Property.Type))
     {
         throw new RulesValidationException(RulesTasksStrings.ClientAccessRulesAuthenticationTypeRequired(this.Name));
     }
 }