public static IClassBuilder WithBaseType(this IClassBuilder classBuilder, Type type, bool ignoreNamespace = false) { return(classBuilder.WithBaseType(type.GetCSharpTypeString(ignoreNamespace))); }