CTCClassSchedule.AutomatedFootnotesConfig.getAutomatedFootnotesText C# (CSharp) Метод

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
        public static string getAutomatedFootnotesText(Section section)
        {
            string wSpace = section.Footnotes.Count() == 0 ? string.Empty : " ";
            string footenoteText = buildFootnoteText(section.IsDifferentStartDate,
                                                                                             section.IsDifferentEndDate,
                                                                                             section.IsHybrid,
                                                                                             section.IsTelecourse,
                                                                                             section.StartDate.GetValueOrDefault(DateTime.Now),
                                                                                             section.EndDate.GetValueOrDefault(DateTime.Now));
            return wSpace + footenoteText;
        }