Exemple #1
0
 public static Type CreateInterfaceImpl <T>(string Name, Action <TypeBuilder> Create) where T : class
 {
     return(CreateType(Name, (TB) => {
         TB.SetParent(typeof(NativeClassImpl));
         TB.AddInterfaceImplementation(typeof(T));
         Create(TB);
     }));
 }