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

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

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Add_Translation ( Web_Language_Enum Language, string Value ) : void

Add a new translation for the heading term

Append_Element ( CitationElement NewElement ) : void

Adds a new citation element to the end of the current elements in this field set

If an element exists with the same MetadataTerm, it is removed first.

CitationFieldSet ( ) : System

Constructor for a new instance of the CitationFieldSet class.

Clear_Elements ( ) : void

Clear the elements in this field set

Insert_Element_After ( CitationElement NewElement, string RelativeElementID ) : void

Adds a new citation element after an existing elements in this field set

If an element exists with the same MetadataTerm, it is removed first. If the ID provided to add this element after does not exist, this is just appended to the very end.

Insert_Element_Before ( CitationElement NewElement, string RelativeElementID ) : void

Adds a new citation element before an existing elements in this field set

If an element exists with the same MetadataTerm, it is removed first. If the ID provided to add this element after does not exist, this is just appended to the very end.

Remove_Element ( string MetadataTerm ) : void

Removes a single citation element from this field set, if it exists

ShouldSerializeHeading ( ) : bool

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

ShouldSerializeTranslations ( ) : bool

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

메소드 상세

Add_Translation() 공개 메소드

Add a new translation for the heading 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

Append_Element() 공개 메소드

Adds a new citation element to the end of the current elements in this field set
If an element exists with the same MetadataTerm, it is removed first.
public Append_Element ( CitationElement NewElement ) : void
NewElement CitationElement New citation element to add
리턴 void

CitationFieldSet() 공개 메소드

Constructor for a new instance of the CitationFieldSet class.
public CitationFieldSet ( ) : System
리턴 System

Clear_Elements() 공개 메소드

Clear the elements in this field set
public Clear_Elements ( ) : void
리턴 void

Insert_Element_After() 공개 메소드

Adds a new citation element after an existing elements in this field set
If an element exists with the same MetadataTerm, it is removed first. If the ID provided to add this element after does not exist, this is just appended to the very end.
public Insert_Element_After ( CitationElement NewElement, string RelativeElementID ) : void
NewElement CitationElement New citation element to add
RelativeElementID string MetadataTerm for the element after which the new citation element should be inserted
리턴 void

Insert_Element_Before() 공개 메소드

Adds a new citation element before an existing elements in this field set
If an element exists with the same MetadataTerm, it is removed first. If the ID provided to add this element after does not exist, this is just appended to the very end.
public Insert_Element_Before ( CitationElement NewElement, string RelativeElementID ) : void
NewElement CitationElement New citation element to add
RelativeElementID string MetadataTerm for the element before which the new citation element should be inserted
리턴 void

Remove_Element() 공개 메소드

Removes a single citation element from this field set, if it exists
public Remove_Element ( string MetadataTerm ) : void
MetadataTerm string Unique identifier for the citation element to remove
리턴 void

ShouldSerializeHeading() 공개 메소드

Method suppresses XML Serialization of the Heading property if it is empty
public ShouldSerializeHeading ( ) : bool
리턴 bool

ShouldSerializeTranslations() 공개 메소드

Method suppresses XML Serialization of the Translations property if it is empty
public ShouldSerializeTranslations ( ) : bool
리턴 bool