예제 #1
0
        public ModelQueryService(ISchemaCache schema, ISchemaMetadataCache metadata, ITypeDescriptorCache typeDescriptor, IServiceLocator services, IModelMapRegistry models)
        {
            _schema         = schema;
            _metadata       = metadata;
            _typeDescriptor = typeDescriptor;
            _services       = services;
            _models         = models;

            _results = new Cache <Type, ModelQueryResult>(query);
        }
        public ModelBuilder(IModelMapRegistry models, ISchemaCache schema, IOutputEncoder encoder, IMapEntryBuilder entries, IClarifyListCache lists, IServiceLocator services, ISchemaMetadataCache metadata)
        {
            _models   = models;
            _schema   = schema;
            _encoder  = encoder;
            _entries  = entries;
            _lists    = lists;
            _services = services;
            _metadata = metadata;

            FieldSortMapOverrides = new FieldSortMap[0];
        }
예제 #3
0
 public ModelMapQuery(ModelInspectorVisitor visitor, IModelMapRegistry maps)
 {
     _visitor = visitor;
     _maps    = maps;
 }