Exemple #1
0
 private bool VerifyKeyPresence(ElementTarget target, bool keyFound)
 {
     if (!keyFound && target.KeyPresenceRequirement != ConfigKeyPresence.Optional)
     {
         Check.Fail(Error.MissingConfigurationKey, target.XmlNodePath);
     }
     return(keyFound);
 }
		private bool VerifyKeyPresence( ElementTarget target, bool keyFound )
		{
			if( ! keyFound && target.KeyPresenceRequirement != ConfigKeyPresence.Optional )
			{
				Check.Fail( Error.MissingConfigurationKey, target.XmlNodePath );
			}
			return keyFound;
		}