public void ProcessDatabaseSchema(IDbObject dbInfo, IDbInfoProcessor dbInfoProcessor) { if (null == dbInfo) { throw new ArgumentNullException("dbInfo", "Invalid IDbObject instance!"); } if (null == dbInfoProcessor) { throw new ArgumentNullException("dbInfoProcessor", "Invalid IDbInfoProcessor instance!"); } dbInfoProcessor.Process(dbInfo); }