Class ObjectFactoryFactory
Factory class for producing IObject
Inheritance
Implements
Inherited Members
Namespace: VDS.RDF.Configuration
Assembly: dotNetRdf.dll
Syntax
public class ObjectFactoryFactory : IObjectFactory
Remarks
This essentially reflexive implementation allows for defining additional IObject
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. |
t | Type. |
Returns
Type | Description |
---|---|
System. |
Remarks
This essentially reflexive implementation allows for defining additional IObject
TryLoadObject(IGraph, INode, Type, out object)
Tries to load an Object Factory based on information from the 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. |
targetType | Target Type. |
System. |
obj | Output Object. |
Returns
Type | Description |
---|---|
System. |
Remarks
This essentially reflexive implementation allows for defining additional IObject