Click or drag to resize

ObjectFactoryFactory Class

Factory class for producing IObjectFactory instances from Configuration Graphs.
Inheritance Hierarchy
SystemObject
  VDS.RDF.ConfigurationObjectFactoryFactory

Namespace:  VDS.RDF.Configuration
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public class ObjectFactoryFactory : IObjectFactory

The ObjectFactoryFactory type exposes the following members.

Constructors
  NameDescription
Public methodObjectFactoryFactory
Initializes a new instance of the ObjectFactoryFactory class
Top
Methods
  NameDescription
Public methodCanLoadObject
Gets whether this Factory can load objects of the given Type.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryLoadObject
Tries to load an Object Factory based on information from the Configuration Graph.
Top
Remarks

This essentially reflexive implementation allows for defining additional IObjectFactory instances that can load custom/user defined types based on user definable Configuration. If your Configuration Graphs contain custom object factory definitions then you should call ConfigurationLoader.AutoConfigureObjectFactories() before attempting to load any Configuration.

See Also