Class StoreTemplate
A basic store template where the only parameter is the Store ID.
Implements
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
| Improve this Doc View SourceStoreTemplate(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. |
StoreTemplate(string)
Creates a new template.
Declaration
public StoreTemplate(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | Store ID. |
Properties
| Improve this Doc View SourceID
Gets/Sets the Store ID.
Declaration
public string ID { get; set; }
Property Value
Type | Description |
---|---|
string |
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 |
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
| Improve this Doc View SourceToString()
Gets the string representation of the template which is the Template Name.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |
Overrides
object.ToString()
|
Improve this Doc
View Source
Validate()
Validates the template.
Declaration
public virtual IEnumerable<string> Validate()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T><string> |
Remarks
This default implementation does no validation, derived classes must override this to add their required validation.