C# 클래스 SobekCM.Library.Citation.SectionWriter.Creator_SectionWriter

Special citation section writer adds the creator information, which includes the role while not making the role part of the search term
This class implements the iCitationSectionWriter interface.
상속: iCitationSectionWriter
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

공개 메소드들

메소드 설명
Has_Data_To_Write ( CitationElement ElementInfo, BriefItemInfo Item ) : bool

Returns flag that indicates this citation section writer will be writing alues to the output stream

Write_Citation_Section ( CitationElement ElementInfo, StringBuilder Output, BriefItemInfo Item, int LeftColumnWidth, string SearchLink, string SearchLinkEnd, Custom_Tracer Tracer ) : void

Wites a section of citation from a provided digital resource

비공개 메소드들

메소드 설명
display_text_from_value ( string Value ) : string
search_link_from_value ( string Value ) : string

메소드 상세

Has_Data_To_Write() 공개 메소드

Returns flag that indicates this citation section writer will be writing alues to the output stream
public Has_Data_To_Write ( CitationElement ElementInfo, BriefItemInfo Item ) : bool
ElementInfo SobekCM.Core.UI_Configuration.Citation.CitationElement Additional possible data about this citation element
Item SobekCM.Core.BriefItem.BriefItemInfo Digital resource to analyze for data to write
리턴 bool

Write_Citation_Section() 공개 메소드

Wites a section of citation from a provided digital resource
public Write_Citation_Section ( CitationElement ElementInfo, StringBuilder Output, BriefItemInfo Item, int LeftColumnWidth, string SearchLink, string SearchLinkEnd, Custom_Tracer Tracer ) : void
ElementInfo SobekCM.Core.UI_Configuration.Citation.CitationElement Additional possible data about this citation element
Output StringBuilder Response stream for the item viewer to write directly to
Item SobekCM.Core.BriefItem.BriefItemInfo Digital resource with all the data to write
LeftColumnWidth int Number of pixels of the left column, or the definition terms
SearchLink string Beginning of the search link that can be used to allow the web patron to select a term and run a search against this instance
SearchLinkEnd string End of the search link that can be used to allow the web patron to select a term and run a search against this instance
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
리턴 void