Show / Hide Table of Contents

Class CollectionFactory

Object Factory for loading triple and graph collections.

Inheritance
System.Object
CollectionFactory
Implements
IObjectFactory
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 Source

CanLoadObject(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
| Improve this Doc View Source

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

Implements

IObjectFactory

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Methods
    • CanLoadObject(Type)
    • TryLoadObject(IGraph, INode, Type, out object)
  • Implements
  • Extension Methods
Back to top Generated by DocFX