public ModelBuilder(ModelMap <MODEL> modelMap, IClarifyListCache listCache, ISchemaCache schemaCache, IOutputEncoder outputEncoder, IMapEntryBuilder mapEntryBuilder) { _modelMap = modelMap; _mapEntryBuilder = mapEntryBuilder; _outputEncoder = outputEncoder; _schemaCache = schemaCache; _listCache = listCache; FieldSortMapOverrides = new FieldSortMap[0]; }
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]; }