 | GRGExportExportYouMustCloseStreamWriter Method |
Exports the given graph to the file given by the stream writer in grg format, i.e. as GrGen rule.
Any errors will be reported by exception.
Namespace: de.unika.ipd.grGen.libGrAssembly: libGr (in libGr.dll) Version: GrGen.NET 7.1
Syntaxpublic static void ExportYouMustCloseStreamWriter(
INamedGraph graph,
StreamWriter sw,
string modelPathPrefix
)
Parameters
- graph INamedGraph
- The graph to export. Must be a NamedGraph.
- sw StreamWriter
- The stream writer of the file to export into. The stream writer is not closed automatically.
- modelPathPrefix String
- Path to the model.
See Also