C# Класс Sdl.Web.Common.Mapping.FieldSemantics

Class for deserialized json field semantics. {"Prefix":"s","Entity":"Article","Property":"headline"}
Наследование: SchemaSemantics
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Equals ( object obj ) : bool

Determines whether the specified object is equal to the current FieldSemantics.

FieldSemantics ( ) : System

Initializes a new empty instance of the FieldSemantics class.

Used by JSON deserializer.

FieldSemantics ( string prefix, string entity, string property, Localization localization ) : System

Initializes a new instance of the FieldSemantics class.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

ToString ( ) : string

Provides a string representation of the object.

Приватные методы

Метод Описание
FieldSemantics ( string entity, string property ) : System
FieldSemantics ( string prefix, string entity, string property ) : System

Описание методов

Equals() публичный Метод

Determines whether the specified object is equal to the current FieldSemantics.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Результат bool

FieldSemantics() публичный Метод

Initializes a new empty instance of the FieldSemantics class.
Used by JSON deserializer.
public FieldSemantics ( ) : System
Результат System

FieldSemantics() публичный Метод

Initializes a new instance of the FieldSemantics class.
public FieldSemantics ( string prefix, string entity, string property, Localization localization ) : System
prefix string Vocabulary prefix
entity string Entity name
property string Semantic property name
localization Localization The context Localization (used to determine the semantic Vocabulary URI).
Результат System

GetHashCode() публичный Метод

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Provides a string representation of the object.
public ToString ( ) : string
Результат string