Esempio n. 1
0
 public static bool IsContentType(this IModLoader modLoader, Type type)
 {
     // It should be noted that this method is circumventable IF content could inherit Type.
     // it cannot, luckily.
     return(modLoader.IsContentAssembly(type.Assembly));
 }