Beispiel #1
0
 public static IAutoSpecNodeMapBuilder AddForAllEmbeddedTypes(
     this IAutoSpecNodeMapBuilder autoSpecNodeMapBuilder, Type specOpenGenericType) =>
 autoSpecNodeMapBuilder.AddForTypes(specOpenGenericType, EmbeddedTypes);
Beispiel #2
0
 public static IAutoSpecNodeMapBuilder AddForRefEmbeddedTypes(
     this IAutoSpecNodeMapBuilder autoSpecNodeMapBuilder, Type specOpenGenericType) =>
 autoSpecNodeMapBuilder.AddForTypes(specOpenGenericType, EmbeddedTypes.Where(t => !t.IsValueType));