public SchemaFactory(IDistributedCacheWrapper distributedCache, ISchemaProvider schemaProvider, ILookupSchemaTransformFactory lookupSchemaFactory, IReusableElementSchemaTransformFactory reusableElementSchemaFactory, IOptions <DistributedCacheConfiguration> distributedCacheConfiguration, IOptions <DistributedCacheExpirationConfiguration> distributedCacheExpirationConfiguration, IConfiguration configuration) { _distributedCache = distributedCache; _schemaProvider = schemaProvider; _lookupSchemaFactory = lookupSchemaFactory; _reusableElementSchemaFactory = reusableElementSchemaFactory; _distributedCacheConfiguration = distributedCacheConfiguration.Value; _distributedCacheExpirationConfiguration = distributedCacheExpirationConfiguration.Value; _configuration = configuration; }
public SchemaFactory(IDistributedCacheWrapper distributedCache, ISchemaProvider schemaProvider, ILookupSchemaTransformFactory lookupSchemaFactory, IReusableElementSchemaTransformFactory reusableElementSchemaFactory, IOptions <DistributedCacheConfiguration> distributedCacheConfiguration, IOptions <DistributedCacheExpirationConfiguration> distributedCacheExpirationConfiguration, IConfiguration configuration, IFormSchemaIntegrityValidator formSchemaIntegrityValidator, IEnumerable <IUserPageTransformFactory> userPageTransformFactories) { _distributedCache = distributedCache; _schemaProvider = schemaProvider; _lookupSchemaFactory = lookupSchemaFactory; _reusableElementSchemaFactory = reusableElementSchemaFactory; _distributedCacheConfiguration = distributedCacheConfiguration.Value; _distributedCacheExpirationConfiguration = distributedCacheExpirationConfiguration.Value; _configuration = configuration; _formSchemaIntegrityValidator = formSchemaIntegrityValidator; _userPageTransformFactories = userPageTransformFactories; }