public virtual FileModel LoadIntermediateModel(Stream stream) { return(FileModelPropertySerialization.Deserialize( stream, Environment.Is64BitProcess ? null : new BinaryFormatter(), DeserializeModel, DeserializeProperties, null)); }
public virtual FileModel LoadIntermediateModel(Stream stream) { return(FileModelPropertySerialization.Deserialize( stream, new BinaryFormatter(), DeserializeModel, DeserializeProperties, null)); }
public virtual FileModel LoadIntermediateModel(Stream stream) { var loaded = FileModelPropertySerialization.Deserialize( stream, new BinaryFormatter(), DeserializeModel, DeserializeProperties, null); loaded.Properties.Schema = _schema; loaded.Properties.Metadata = _schema.MetadataReference.GetValue(loaded.Content); return(loaded); }