C# Класс SobekCM.Core.UI_Configuration.Citation.CitationElement

Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

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

Метод Описание
Add_Option ( string Key, string Value ) : void

Add a new option to this citation element configuration

Add_Translation ( Web_Language_Enum Language, string Value ) : void

Add a new translation for the display term

CitationElement ( ) : System

Constructor for a new instance of the CitationElement class

CitationElement ( string MetadataTerm, string DisplayTerm, string SearchCode, string ItemProp ) : System

Constructor for a new instance of the CitationElement class

CitationElement ( string MetadataTerm, string DisplayTerm, string SearchCode, string ItemProp, CitationElement_OverrideDispayTerm_Enum OverrideDisplayTerm ) : System

Constructor for a new instance of the CitationElement class

ShouldSerializeItemProp ( ) : bool

Method suppresses XML Serialization of the ItemProp property if it is empty

ShouldSerializeOptions ( ) : bool

Method suppresses XML Serialization of the Options property if it is empty

ShouldSerializeOverrideDisplayTerm ( ) : bool

Method suppresses XML Serialization of the OverrideDisplayTerm property if it is empty

ShouldSerializeSearchCode ( ) : bool

Method suppresses XML Serialization of the SearchCode property if it is empty

ShouldSerializeTranslations ( ) : bool

Method suppresses XML Serialization of the Translations property if it is empty

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

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

Add a new option to this citation element configuration
public Add_Option ( string Key, string Value ) : void
Key string Key for this key/value pair
Value string Value for this key/value pair
Результат void

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

Add a new translation for the display term
public Add_Translation ( Web_Language_Enum Language, string Value ) : void
Language Web_Language_Enum Language in which this value is represented
Value string Value in provided language
Результат void

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

Constructor for a new instance of the CitationElement class
public CitationElement ( ) : System
Результат System

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

Constructor for a new instance of the CitationElement class
public CitationElement ( string MetadataTerm, string DisplayTerm, string SearchCode, string ItemProp ) : System
MetadataTerm string Metadata term this citation element displays (or a unique value)
DisplayTerm string Default display term for this citation element
SearchCode string SobekCM search code, if this element should be clickable /// to initiate a search within SobekCM
ItemProp string Schema.org microdata tag to include for this element
Результат System

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

Constructor for a new instance of the CitationElement class
public CitationElement ( string MetadataTerm, string DisplayTerm, string SearchCode, string ItemProp, CitationElement_OverrideDispayTerm_Enum OverrideDisplayTerm ) : System
MetadataTerm string Metadata term this citation element displays (or a unique value)
DisplayTerm string Default display term for this citation element
SearchCode string SobekCM search code, if this element should be clickable /// to initiate a search within SobekCM
ItemProp string Schema.org microdata tag to include for this element
OverrideDisplayTerm CitationElement_OverrideDispayTerm_Enum Flag indicatse if the basic citation section writer should override /// the display term and use some other value from within the individual item metadata
Результат System

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

Method suppresses XML Serialization of the ItemProp property if it is empty
public ShouldSerializeItemProp ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Options property if it is empty
public ShouldSerializeOptions ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the OverrideDisplayTerm property if it is empty
public ShouldSerializeOverrideDisplayTerm ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the SearchCode property if it is empty
public ShouldSerializeSearchCode ( ) : bool
Результат bool

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

Method suppresses XML Serialization of the Translations property if it is empty
public ShouldSerializeTranslations ( ) : bool
Результат bool