Show / Hide Table of Contents

Class ConfigurationSerializationContext

Context Class for writing serializing Configuration information.

Inheritance
System.Object
ConfigurationSerializationContext
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Configuration
Assembly: dotNetRdf.dll
Syntax
public class ConfigurationSerializationContext

Constructors

| Improve this Doc View Source

ConfigurationSerializationContext()

Creates a new Serialization Context.

Declaration
public ConfigurationSerializationContext()
| Improve this Doc View Source

ConfigurationSerializationContext(IGraph)

Creates a new Serialization Context.

Declaration
public ConfigurationSerializationContext(IGraph g)
Parameters
Type Name Description
IGraph g

Base Configuration Graph.

Fields

| Improve this Doc View Source

_g

Configuration Graph being written to.

Declaration
protected IGraph _g
Field Value
Type Description
IGraph

Properties

| Improve this Doc View Source

Graph

Gets the Graph to which Configuration information should be written.

Declaration
public IGraph Graph { get; }
Property Value
Type Description
IGraph
| Improve this Doc View Source

NextSubject

Gets/Sets the next subject to be used.

Declaration
public INode NextSubject { get; set; }
Property Value
Type Description
INode
Remarks

Always returns a Blank Node if none is currently explicitly specified.

Used to link objects together when you want some subsidiary object to serialize it's configuration and link that to the configuration you are currently serializing.

| Improve this Doc View Source

UriFactory

Gets the URI factory to use when populating the graph.

Declaration
public IUriFactory UriFactory { get; }
Property Value
Type Description
IUriFactory

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • ConfigurationSerializationContext()
    • ConfigurationSerializationContext(IGraph)
  • Fields
    • _g
  • Properties
    • Graph
    • NextSubject
    • UriFactory
  • Extension Methods
Back to top Generated by DocFX