Click or drag to resize

ConfigurationLoaderCheckCircularReference Method

Checks for circular references and throws an error if there is one.

Namespace:  VDS.RDF.Configuration
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static bool CheckCircularReference(
	INode a,
	INode b,
	string property
)

Parameters

a
Type: VDS.RDFINode
Object you are attempting to load.
b
Type: VDS.RDFINode
Object being referenced.
property
Type: SystemString
QName for the property that makes the reference.

Return Value

Type: Boolean

[Missing <returns> documentation for "M:VDS.RDF.Configuration.ConfigurationLoader.CheckCircularReference(VDS.RDF.INode,VDS.RDF.INode,System.String)"]

Remarks

If the Object you are trying to load and the Object you need to load are equal then this is a circular reference and an error is thrown.

The ConfigurationLoader is not currently capable of detecting more subtle circular references.

See Also