C# 클래스 SobekCM.Core.UI_Configuration.Citation.CitationElement

파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

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