Show / Hide Table of Contents

Class JsonLdTermDefinition

Represents a term definition in a context.
Inheritance
System.Object
JsonLdTermDefinition
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.JsonLd
Assembly: dotNetRDF.dll
Syntax
public class JsonLdTermDefinition

Constructors

| Improve this Doc View Source

JsonLdTermDefinition()

Create a new term definition.
Declaration
public JsonLdTermDefinition()

Properties

| Improve this Doc View Source

BaseUrl

Get or set the base URL for the term.
Declaration
public Uri BaseUrl { get; set; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

ContainerMapping

Get or set the container mapping for this term definition.
Declaration
public ISet<JsonLdContainer> ContainerMapping { get; }
Property Value
Type Description
System.Collections.Generic.ISet<JsonLdContainer>
| Improve this Doc View Source

DirectionMapping

Get or set the text direction mapping for this term definition.
Declaration
public LanguageDirection? DirectionMapping { get; set; }
Property Value
Type Description
System.Nullable<LanguageDirection>
| Improve this Doc View Source

HasLanguageMapping

Boolean flag indicating if this term definition specifies a language mapping.
Declaration
public bool HasLanguageMapping { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IndexMapping

Get or set the index mapping for this term definition.
Declaration
public string IndexMapping { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IriMapping

Get or set the IRI mapping for the term.
Declaration
public string IriMapping { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

LanguageMapping

Get or set the language mapping for this term definition.
Declaration
public string LanguageMapping { get; set; }
Property Value
Type Description
System.String
Remarks
May be null. MUST be null if TypeMapping is not null.
| Improve this Doc View Source

LocalContext

Get or set the context specified for this term definition.
Declaration
public JToken LocalContext { get; set; }
Property Value
Type Description
Newtonsoft.Json.Linq.JToken
| Improve this Doc View Source

Nest

Get or set the nest property for this term definition.
Declaration
public string Nest { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Prefix

Get or set the prefix flag for the term.
Declaration
public bool Prefix { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Protected

Get or set the protected flag for the term.
Declaration
public bool Protected { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Reverse

Indicates if this term represents a reverse property.
Declaration
public bool Reverse { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

TypeMapping

Get or set the type mapping for this term definition.
Declaration
public string TypeMapping { get; set; }
Property Value
Type Description
System.String
Remarks
May be null. MUST be null if LanguageMapping is not null.

Methods

| Improve this Doc View Source

Clone()

Create a clone of this term definition.
Declaration
public JsonLdTermDefinition Clone()
Returns
Type Description
JsonLdTermDefinition
| Improve this Doc View Source

EquivalentTo(JsonLdTermDefinition)

Determines whether this term definition is the same as another term definition in all respects other than its Protected attribute value.
Declaration
public bool EquivalentTo(JsonLdTermDefinition other)
Parameters
Type Name Description
JsonLdTermDefinition other
Returns
Type Description
System.Boolean True if the term definitions are the same in all respects other than the value of Protected, false otherwise.

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • JsonLdTermDefinition()
  • Properties
    • BaseUrl
    • ContainerMapping
    • DirectionMapping
    • HasLanguageMapping
    • IndexMapping
    • IriMapping
    • LanguageMapping
    • LocalContext
    • Nest
    • Prefix
    • Protected
    • Reverse
    • TypeMapping
  • Methods
    • Clone()
    • EquivalentTo(JsonLdTermDefinition)
  • Extension Methods
Back to top Generated by DocFX