IEnumerable<RuntimeAddin> GetAllDependencies()
{
// Look in the dependent add-ins
foreach (RuntimeAddin addin in GetDepAddins ())
yield return addin;
if (parentAddin != null) {
// Look in the parent dependent add-ins
foreach (RuntimeAddin addin in parentAddin.GetDepAddins ())
yield return addin;
}
}