Show / Hide Table of Contents

Class BaseStoreWriterContext

Base Class for Store Writer Context Objects.

Inheritance
object
BaseStoreWriterContext
ThreadedStoreWriterContext
Implements
IStoreWriterContext
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Writing.Contexts
Assembly: dotNetRdf.dll
Syntax
public class BaseStoreWriterContext : IStoreWriterContext

Constructors

| Edit this page View Source

BaseStoreWriterContext(ITripleStore, TextWriter)

Creates a new Base Store Writer Context with default settings.

Declaration
public BaseStoreWriterContext(ITripleStore store, TextWriter output)
Parameters
Type Name Description
ITripleStore store

Store to write.

TextWriter output

TextWriter being written to.

| Edit this page View Source

BaseStoreWriterContext(ITripleStore, TextWriter, bool, bool)

Creates a new Base Store Writer Context with custom settings.

Declaration
public BaseStoreWriterContext(ITripleStore store, TextWriter output, bool prettyPrint, bool hiSpeedAllowed)
Parameters
Type Name Description
ITripleStore store

Store to write.

TextWriter output

TextWriter being written to.

bool prettyPrint

Pretty Print Mode.

bool hiSpeedAllowed

High Speed Mode.

Fields

| Edit this page View Source

_hiSpeedAllowed

High Speed Mode setting.

Declaration
protected bool _hiSpeedAllowed
Field Value
Type Description
bool
| Edit this page View Source

_prettyPrint

Pretty Print Mode setting.

Declaration
protected bool _prettyPrint
Field Value
Type Description
bool

Properties

| Edit this page View Source

HighSpeedModePermitted

Gets/Sets the High Speed Mode used.

Declaration
public bool HighSpeedModePermitted { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Output

Gets the TextWriter being written to.

Declaration
public TextWriter Output { get; }
Property Value
Type Description
TextWriter
| Edit this page View Source

PrettyPrint

Gets/Sets the Pretty Printing Mode used.

Declaration
public bool PrettyPrint { get; set; }
Property Value
Type Description
bool
| Edit this page View Source

Store

Gets the Store being written.

Declaration
public ITripleStore Store { get; }
Property Value
Type Description
ITripleStore

Methods

| Edit this page View Source

FormatUri(string)

Formats a URI as a String for full Output.

Declaration
public virtual string FormatUri(string u)
Parameters
Type Name Description
string u

URI.

Returns
Type Description
string
| Edit this page View Source

FormatUri(Uri)

Formats a URI as a String for full Output.

Declaration
public virtual string FormatUri(Uri u)
Parameters
Type Name Description
Uri u

URI.

Returns
Type Description
string

Implements

IStoreWriterContext

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • BaseStoreWriterContext(ITripleStore, TextWriter)
    • BaseStoreWriterContext(ITripleStore, TextWriter, bool, bool)
  • Fields
    • _hiSpeedAllowed
    • _prettyPrint
  • Properties
    • HighSpeedModePermitted
    • Output
    • PrettyPrint
    • Store
  • Methods
    • FormatUri(string)
    • FormatUri(Uri)
  • Implements
  • Extension Methods
Back to top Generated by DocFX