C# 클래스 CTCClassSchedule.AutomatedFootnotesConfig

A handler class for the Automated Footnote settings in the web.config
파일 보기 프로젝트 열기: BellevueCollege/ClassSchedule

보호된 프로퍼티들

프로퍼티 타입 설명
_footnoteInstances AutomatedFootnoteElement>.Dictionary

공개 메소드들

메소드 설명
Footnotes ( string footnoteName ) : AutomatedFootnoteElement

Returns a footnote message element based on the name.

getAutomatedFootnotesText ( Section section ) : string

Takes a Section and produces all automated messages that the section should display.

비공개 메소드들

메소드 설명
AutomatedFootnotesConfig ( ) : System

Constructor. Initiates the serialization of the automated footnotes section in the web.config file.

GetFootnoteInstances ( AutomatedFootnoteCollection collection ) : AutomatedFootnoteElement>.Dictionary

Returns a dictionary of all elements within a given collection of footnote messages. The key is the name of the footnote element, the value is the element itself.

buildFootnoteText ( System.Boolean differentStartFlag, System.Boolean differentEndFlag, System.Boolean hybridFlag, System.Boolean telecourseFlag, System.DateTime startDate, System.DateTime endDate ) : string
getApplicableDateFootnote ( System.Boolean differentStartFlag, System.Boolean differentEndFlag, System.DateTime startDate, System.DateTime endDate ) : AutomatedFootnoteElement

Uses a section's start/end date to determine an applicable date footnote. By design, at most one date related footnote will be relevant to any given section. This method determines and returns the applicable footnote, should one exist.

메소드 상세

Footnotes() 공개 정적인 메소드

Returns a footnote message element based on the name.
public static Footnotes ( string footnoteName ) : AutomatedFootnoteElement
footnoteName string The anme of the element you want.
리턴 AutomatedFootnoteElement

getAutomatedFootnotesText() 공개 정적인 메소드

Takes a Section and produces all automated messages that the section should display.
public static getAutomatedFootnotesText ( Section section ) : string
section Ctc.Ods.Types.Section The section to base the generated footnote messages on.
리턴 string

프로퍼티 상세

_footnoteInstances 보호되어 있는 정적으로 프로퍼티

Private dictionary that maps the name of each automated footnote message to the footnote element itself.
protected static Dictionary _footnoteInstances
리턴 AutomatedFootnoteElement>.Dictionary