Class CollectionFactory
Object Factory for loading triple and graph collections.
Inheritance
System.Object
CollectionFactory
Implements
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 CollectionFactory : IObjectFactory
Methods
| Improve this Doc View SourceCanLoadObject(Type)
Gets whether this factory can load objects of the given type.
Declaration
public bool CanLoadObject(Type t)
Parameters
Type | Name | Description |
---|---|---|
System.Type | t | Type. |
Returns
Type | Description |
---|---|
System.Boolean |
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. |
System.Type | targetType | Target type. |
System.Object | obj | Returned Object. |
Returns
Type | Description |
---|---|
System.Boolean |