C# Class Dimi.InstantRDF.BusinessLogic.OntologyFactory

The ontology factory
Mostrar archivo Open project: coding3d/InstantRDF Class Usage Examples

Public Methods

Method Description
GenerateDocumentType ( int id ) : DocumentType

Generates the document type.

GenerateOntologyGraph ( ) : VDS.RDF.Graph

Generates the ontology graph.

OntologyFactory ( IUmbracoDocumentTypeRepository documentTypeRepository, IUmbracoPropertyTypeRepository propertyTypeRepository ) : System

Initializes a new instance of the OntologyFactory class.

Method Details

GenerateDocumentType() public method

Generates the document type.
public GenerateDocumentType ( int id ) : DocumentType
id int The id of the document type in Umbraco.
return Dimi.InstantRDF.Model.DocumentType

GenerateOntologyGraph() public method

Generates the ontology graph.
public GenerateOntologyGraph ( ) : VDS.RDF.Graph
return VDS.RDF.Graph

OntologyFactory() public method

Initializes a new instance of the OntologyFactory class.
public OntologyFactory ( IUmbracoDocumentTypeRepository documentTypeRepository, IUmbracoPropertyTypeRepository propertyTypeRepository ) : System
documentTypeRepository IUmbracoDocumentTypeRepository The umbraco document type repository.
propertyTypeRepository IUmbracoPropertyTypeRepository The umbraco property type repository.
return System