public GetNestedDataModelSchemaByNameRangeQueryHandler( INestedDataModelSchemaMapper nestedDataModelSchemaMapper, INestedDataModelTypeRepository nestedDataModelRepository ) { _nestedDataModelSchemaMapper = nestedDataModelSchemaMapper; _nestedDataModelRepository = nestedDataModelRepository; }
public GetNestedDataModelSchemaByNameQueryHandler( IDynamicDataModelSchemaMapper dynamicDataModelTypeMapper, INestedDataModelTypeRepository nestedDataModelRepository ) { _dynamicDataModelTypeMapper = dynamicDataModelTypeMapper; _nestedDataModelRepository = nestedDataModelRepository; }
public DynamicDataModelJsonSerializerSettingsCache( IJsonSerializerSettingsFactory jsonSerializerSettingsFactory, INestedDataModelTypeRepository nestedDataModelTypeRepository ) { _nestedDataModelTypeRepository = nestedDataModelTypeRepository; var settings = jsonSerializerSettingsFactory.Create(); settings.Converters.Add(new DynamicDataModelDefaultValueJsonConverter(jsonSerializerSettingsFactory.Create())); settings.Converters.Add(new NestedDataModelMultiTypeItemJsonConverter(_nestedDataModelTypeRepository)); settings.Error = HandleDeserializationError; settings.ObjectCreationHandling = ObjectCreationHandling.Replace; _jsonSerializerSettings = settings; }
public NestedDataModelMultiTypeItemJsonConverter( INestedDataModelTypeRepository nestedDataModelTypeRepository ) { _nestedDataModelTypeRepository = nestedDataModelTypeRepository; }