public static AquaTypeModel ConfigureAquaTypeSystemTypes(this AquaTypeModel typeModel) => typeModel .AddType <TypeInfo>() .AddType <MemberInfo>() .AddSubType <MemberInfo, PropertyInfo>() .AddSubType <MemberInfo, FieldInfo>() .AddSubType <MemberInfo, MethodBaseInfo>() .AddSubType <MethodBaseInfo, MethodInfo>() .AddSubType <MethodBaseInfo, ConstructorInfo>();
public static AquaTypeModel ConfigureRemoteLinqDynamicQueryTypes(this AquaTypeModel typeModel) => typeModel .AddType <ConstantQueryArgument>() .AddType <QueryableResourceDescriptor>() .AddTypeSurrogate <VariableQueryArgument, VariableQueryArgumentSurrogate>() .AddTypeSurrogate <VariableQueryArgumentList, VariableQueryArgumentListSurrogate>();