예제 #1
0
 public GraphTypeConfiguration(ScalarTypeMap scalarTypeMap) : this(
         new PropertyInfo[0],
         new Type[0],
         new PropertyMap <FieldConfiguration <T> >(),
         null,
         scalarTypeMap)
 {
 }
예제 #2
0
 private GraphTypeConfiguration(
     IEnumerable <PropertyInfo> propertiesToIgnore,
     IEnumerable <Type> interfaces,
     PropertyMap <FieldConfiguration <T> > fieldConfig,
     string customName,
     ScalarTypeMap scalarTypeMap
     )
 {
     PropsToIgnore = propertiesToIgnore;
     Interfaces    = interfaces;
     _fieldConfig  = fieldConfig;
     CustomName    = customName;
     ScalarTypeMap = scalarTypeMap;
 }
예제 #3
0
 public GraphTypeCache(Dictionary <Type, IGraphTypeBuilder> builders, ScalarTypeMap scalarTypeMap)
 {
     _scalarTypeMap = scalarTypeMap;
     _builders      = builders;
 }
예제 #4
0
 public GraphTypeCache(ScalarTypeMap scalarTypeMap) : this(new Dictionary <Type, IGraphTypeBuilder>(), scalarTypeMap)
 {
 }
예제 #5
0
 public FieldConfiguration(PropertyInfo prop, ScalarTypeMap scalarTypeMap)
 {
     _scalarTypeMap = scalarTypeMap;
     Property       = prop;
 }
예제 #6
0
 internal ListFieldBuilder(GraphTypeBuilder <TModel> parentBuilder, PropertyInfo prop, ScalarTypeMap scalarTypeMap)
 {
     _parentBuilder = parentBuilder;
     _prop          = prop;
     _scalarTypeMap = scalarTypeMap;
 }
예제 #7
0
 public PreloadedListResolverConfiguration(ScalarTypeMap scalarTypeMap)
 {
     _scalarTypeMap = scalarTypeMap;
 }
예제 #8
0
 internal LooseListFieldBuilder(GraphTypeBuilder <TModel> parentBuilder, Expression <Func <TModel, IEnumerable <TElem> > > propExpr, ScalarTypeMap scalarTypeMap)
 {
     _scalarTypeMap = scalarTypeMap;
     _parentBuilder = parentBuilder;
     _propExpr      = propExpr;
 }