public ISaveEntityDatabasePipeline CreateDefaultSavePipeline(IDependencyContainer container) { var mappingRegistry = new MappingRegistry(container.Resolve <EverythingTypeMapper>()); var primitiveTypeMappings = container.ResolveAll <IBinaryPrimitiveHandler>(); var everythingSerializer = new LazyBinarySerializer(mappingRegistry, primitiveTypeMappings); var persistitySerializer = new BinarySerializer(everythingSerializer); return(CreateSavePipeline(container, persistitySerializer, DefaultEntityDatabaseFile)); }
public BinarySerializer(LazyDataSerializer internalSerializer) { InternalSerializer = internalSerializer; }