Mono.Addins.RuntimeAddin.GetAllDependencies C# (CSharp) Method

GetAllDependencies() private method

private GetAllDependencies ( ) : IEnumerable
return IEnumerable
        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;
            }
        }