Class NTriplesWriterContext
Writer Context for NTriples Writers.
Implements
Inherited Members
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class NTriplesWriterContext : BaseWriterContext, IWriterContext
Constructors
| Edit this page View SourceNTriplesWriterContext(IGraph, TextWriter, NTriplesSyntax)
Creates a new NTriples Writer Context with default settings.
Declaration
public NTriplesWriterContext(IGraph g, TextWriter output, NTriplesSyntax syntax)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to write. |
TextWriter | output | TextWriter to write to. |
NTriplesSyntax | syntax | NTriples Syntax mode. |
NTriplesWriterContext(IGraph, TextWriter, NTriplesSyntax, bool, bool)
Creates a new NTriples Writer Context with custom settings.
Declaration
public NTriplesWriterContext(IGraph g, TextWriter output, NTriplesSyntax syntax, bool prettyPrint, bool hiSpeed)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to write. |
TextWriter | output | TextWriter to write to. |
NTriplesSyntax | syntax | NTriples Syntax mode. |
bool | prettyPrint | Pretty Print Mode. |
bool | hiSpeed | High Speed Mode. |
Properties
| Edit this page View SourceSyntax
Gets the NTriples syntax mode.
Declaration
public NTriplesSyntax Syntax { get; }
Property Value
Type | Description |
---|---|
NTriplesSyntax |