C# 클래스 Sdl.Web.Common.Mapping.FieldSemantics

Class for deserialized json field semantics. {"Prefix":"s","Entity":"Article","Property":"headline"}
상속: SchemaSemantics
파일 보기 프로젝트 열기: sdl/dxa-web-application-dotnet 1 사용 예제들

공개 메소드들

메소드 설명
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