Пример #1
0
 private static IEnumerable <Type> GetAllTypesWithInterface(Type interfaceType)
 {
     if (!interfaceType.IsInterface)
     {
         throw new ArgumentException(string.Format("Specified type {0} is not an interface.", interfaceType), "interfaceType");
     }
     return(EditorAssemblies.Internal_GetAllTypesWithInterface(interfaceType));
 }