Show / Hide Table of Contents

Class CollectionFactory

Object Factory for loading triple and graph collections.

Inheritance
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

| Edit this page 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
Type t

Type.

Returns
Type Description
bool
| Edit this page 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.

Type targetType

Target type.

object obj

Returned Object.

Returns
Type Description
bool

Implements

IObjectFactory

Extension Methods

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