예제 #1
0
 private static IEnumerable <AggregateType> TypeAndBaseClassInterfaces(this AggregateType type)
 {
     Debug.Assert(type != null);
     foreach (AggregateType b in type.TypeAndBaseClasses())
     {
         foreach (AggregateType t in b.GetIfacesAll().Items)
         {
             yield return(t);
         }
     }
 }