Beispiel #1
0
 /// <summary>
 /// Validates the configuration settings.
 /// </summary>
 public void Validate(AgentConfigError error)
 {
     if (this.Resolvers.IsNullOrEmpty())
     {
         throw new AgentConfigException(error);
     }
     foreach (PolicyResolverSettings resolverSettings in this.Resolvers)
     {
         resolverSettings.Validate();
     }
 }
 internal void Validate(AgentConfigError error)
 {
     if (this.Resolvers.IsNullOrEmpty())
     {
         throw new AgentConfigException(error);
     }
     foreach (CertResolverSettings resolverSettings in this.Resolvers)
     {
         resolverSettings.Validate();
     }
 }