Class VirtuosoObjectFactory
An Object Factory that can create objects of the classes provided by the dotNetRDF.Data.Virtuoso library.
Inheritance
System.Object
VirtuosoObjectFactory
Implements
Namespace: VDS.RDF.Configuration
Assembly: dotNetRDF.Data.Virtuoso.dll
Syntax
public class VirtuosoObjectFactory : object, IObjectFactory
Methods
| Improve this Doc View SourceCanLoadObject(Type)
Returns whether this Factory is capable of creating objects of the given type.
Declaration
public bool CanLoadObject(Type t)
Parameters
Type | Name | Description |
---|---|---|
Type | t | Target Type. |
Returns
Type | Description |
---|---|
System.Boolean |
TryLoadObject(IGraph, INode, Type, out Object)
Attempts to load an Object of the given type identified by the given Node and returned as the Type that this loader generates.
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. |
System.Object | obj | Created Object. |
Returns
Type | Description |
---|---|
System.Boolean | True if the loader succeeded in creating an Object. |