IKVM.Reflection.Type.AddInterfaces C# (CSharp) Метод

AddInterfaces() приватный статический Метод

private static AddInterfaces ( List list, Type type ) : void
list List
type Type
Результат void
        private static void AddInterfaces(List<Type> list, Type type)
        {
            type.CheckBaked();
            foreach (Type iface in type.__GetDeclaredInterfaces())
            {
                if (!list.Contains(iface))
                {
                    list.Add(iface);
                    AddInterfaces(list, iface);
                }
            }
        }