Attempts to find an existingMetasoundclass description corresponding to a dependency which matches the provided class information. If the class is not found in the current dependencies, it is added to the dependencies. If found and bInRefreshFromRegistry is set (optional) , copies the version found in the registry to the document.