Show / Hide Table of Contents

Class StoreTemplate

A basic store template where the only parameter is the Store ID.

Inheritance
object
StoreTemplate
BaseSesameTemplate
BaseStardogTemplate
Implements
IStoreTemplate
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Storage.Management.Provisioning
Assembly: dotNetRdf.dll
Syntax
public class StoreTemplate : IStoreTemplate

Constructors

| Edit this page View Source

StoreTemplate(string)

Creates a new template.

Declaration
public StoreTemplate(string id)
Parameters
Type Name Description
string id

Store ID.

| Edit this page View Source

StoreTemplate(string, string, string)

Creates a new template.

Declaration
public StoreTemplate(string id, string name, string description)
Parameters
Type Name Description
string id

Store ID.

string name

Template Name.

string description

Template Description.

Properties

| Edit this page View Source

ID

Gets/Sets the Store ID.

Declaration
public string ID { get; set; }
Property Value
Type Description
string
| Edit this page View Source

TemplateDescription

Gets the description of the type of store the template will create.

Declaration
public string TemplateDescription { get; protected set; }
Property Value
Type Description
string
| Edit this page View Source

TemplateName

Gets the name of the type of store the template will create.

Declaration
public string TemplateName { get; protected set; }
Property Value
Type Description
string

Methods

| Edit this page View Source

ToString()

Gets the string representation of the template which is the Template Name.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
| Edit this page View Source

Validate()

Validates the template.

Declaration
public virtual IEnumerable<string> Validate()
Returns
Type Description
IEnumerable<string>
Remarks

This default implementation does no validation, derived classes must override this to add their required validation.

Implements

IStoreTemplate

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • StoreTemplate(string)
    • StoreTemplate(string, string, string)
  • Properties
    • ID
    • TemplateDescription
    • TemplateName
  • Methods
    • ToString()
    • Validate()
  • Implements
  • Extension Methods
Back to top Generated by DocFX