Class ConfigurationSerializationContext
Context Class for writing serializing Configuration information.
Inheritance
System.Object
ConfigurationSerializationContext
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Configuration
Assembly: dotNetRDF.dll
Syntax
public class ConfigurationSerializationContext
Constructors
| Improve this Doc View SourceConfigurationSerializationContext()
Creates a new Serialization Context.
Declaration
public ConfigurationSerializationContext()
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 SourceGraph
Gets the Graph to which Configuration information should be written.
Declaration
public IGraph Graph { get; }
Property Value
Type | Description |
---|---|
IGraph |
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.