Beispiel #1
0
 public static TypeMember CloseType(this ImperativeCodeModel model, Type openType, params TypeMember[] typeArguments)
 {
     return(model.Get <TypeMember>(openType).MakeGenericType(typeArguments));
 }
Beispiel #2
0
 public static TypeMember Type <TClrType>(this ImperativeCodeModel model)
 {
     return(model.Get <TypeMember>(typeof(TClrType)));
 }