Class CollectionFactory
Object Factory for loading triple and graph collections.
Implements
Inherited Members
Namespace: VDS.RDF.Configuration
Assembly: dotNetRdf.dll
Syntax
public class CollectionFactory : IObjectFactory
Methods
| Edit this page View SourceCanLoadObject(Type)
Gets whether this factory can load objects of the given type.
Declaration
public bool CanLoadObject(Type t)
Parameters
Type | Name | Description |
---|---|---|
Type | t | Type. |
Returns
Type | Description |
---|---|
bool |
TryLoadObject(IGraph, INode, Type, out object)
Tries to load a triple/graph collection which is specified in the given configuration graph.
Declaration
public bool TryLoadObject(IGraph g, INode objNode, Type targetType, out object obj)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Configuration Graph. |
INode | objNode | Object Node. |
Type | targetType | Target type. |
object | obj | Returned Object. |
Returns
Type | Description |
---|---|
bool |