SerializationExtensions
Namespace: QuickGraph.Serialization
Static members
Static member | Description |
DeserializeFromBinary(stream)
Signature: stream:Stream -> 'TGraph
Type parameters: 'TVertex, 'TEdge, 'TGraph |
Deserializes a graph instance from a stream that was serialized using the .Net serialization binary format. |
DeserializeFromXml(...)
Signature: (doc:IXPathNavigable * graphXPath:string * verticesXPath:string * edgesXPath:string * graphFactory:Func<XPathNavigator,'TGraph> * vertexFactory:Func<XPathNavigator,'TVertex> * edgeFactory:Func<XPathNavigator,'TEdge>) -> 'TGraph
Type parameters: 'TVertex, 'TEdge, 'TGraph |
Deserializes a graph from a generic xml stream, using an . |
DeserializeFromXml(...)
Signature: (reader:XmlReader * graphPredicate:Predicate<XmlReader> * vertexPredicate:Predicate<XmlReader> * edgePredicate:Predicate<XmlReader> * graphFactory:Func<XmlReader,'TGraph> * vertexFactory:Func<XmlReader,'TVertex> * edgeFactory:Func<XmlReader,'TEdge>) -> 'TGraph
Type parameters: 'TVertex, 'TEdge, 'TGraph |
Deserializes a graph from a generic xml stream, using an . |
DeserializeFromXml(...)
Signature: (reader:XmlReader * graphElementName:string * vertexElementName:string * edgeElementName:string * namespaceUri:string * graphFactory:Func<XmlReader,'TGraph> * vertexFactory:Func<XmlReader,'TVertex> * edgeFactory:Func<XmlReader,'TEdge>) -> 'TGraph
Type parameters: 'TVertex, 'TEdge, 'TGraph |
Deserializes a graph from a generic xml stream, using an . |
SerializeToBinary(graph, stream)
Signature: (graph:IGraph<'TVertex,'TEdge> * stream:Stream) -> unit
Type parameters: 'TVertex, 'TEdge |
Serializes the graph to the stream using the .Net serialization binary format. |
SerializeToXml(...)
Signature: (graph:'TGraph * writer:XmlWriter * vertexIdentity:VertexIdentity<'TVertex> * edgeIdentity:EdgeIdentity<'TVertex,'TEdge> * graphElementName:string * vertexElementName:string * edgeElementName:string * namespaceUri:string) -> unit
Type parameters: 'TVertex, 'TEdge, 'TGraph |
Serializes a graph to a generic xml stream, using an . |
SerializeToXml(...)
Signature: (graph:'TGraph * writer:XmlWriter * vertexIdentity:VertexIdentity<'TVertex> * edgeIdentity:EdgeIdentity<'TVertex,'TEdge> * graphElementName:string * vertexElementName:string * edgeElementName:string * namespaceUri:string * writeGraphAttributes:Action<XmlWriter,'TGraph> * writeVertexAttributes:Action<XmlWriter,'TVertex> * writeEdgeAttributes:Action<XmlWriter,'TEdge>) -> unit
Type parameters: 'TVertex, 'TEdge, 'TGraph |
Serializes a graph to a generic xml stream, using an . |