Show / Hide Table of Contents

Class JsonLdTermDefinition

Represents a term definition in a context.

Inheritance
object
JsonLdTermDefinition
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.JsonLd
Assembly: dotNetRdf.dll
Syntax
public class JsonLdTermDefinition

Constructors

| Edit this page View Source

JsonLdTermDefinition()

Create a new term definition.

Declaration
public JsonLdTermDefinition()

Properties

| Edit this page View Source

BaseUrl

Get or set the base URL for the term.

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

ContainerMapping

Get or set the container mapping for this term definition.

Declaration
public ISet<JsonLdContainer> ContainerMapping { get; }
Property Value
Type Description
ISet<JsonLdContainer>
| Edit this page View Source

DirectionMapping

Get or set the text direction mapping for this term definition.

Declaration
public LanguageDirection? DirectionMapping { get; set; }
Property Value
Type Description
LanguageDirection?
| Edit this page View Source

HasLanguageMapping

Boolean flag indicating if this term definition specifies a language mapping.

Declaration
public bool HasLanguageMapping { get; }
Property Value
Type Description
bool
| Edit this page View Source

IndexMapping

Get or set the index mapping for this term definition.

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

IriMapping

Get or set the IRI mapping for the term.

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

LanguageMapping

Get or set the language mapping for this term definition.

Declaration
public string LanguageMapping { get; set; }
Property Value
Type Description
string
Remarks

May be null. MUST be null if TypeMapping is not null.

| Edit this page View Source

LocalContext

Get or set the context specified for this term definition.

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

Nest

Get or set the nest property for this term definition.

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

Prefix

Get or set the prefix flag for the term.

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

Protected

Get or set the protected flag for the term.

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

Reverse

Indicates if this term represents a reverse property.

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

TypeMapping

Get or set the type mapping for this term definition.

Declaration
public string TypeMapping { get; set; }
Property Value
Type Description
string
Remarks

May be null. MUST be null if LanguageMapping is not null.

Methods

| Edit this page View Source

Clone()

Create a clone of this term definition.

Declaration
public JsonLdTermDefinition Clone()
Returns
Type Description
JsonLdTermDefinition
| Edit this page 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
bool

True if the term definitions are the same in all respects other than the value of Protected, false otherwise.

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • 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