C# Class SanderVantEinde.WindesheimRoosterBot.TemplateRoosterFormatToImageProvider

Datei anzeigen Open project: sandervanteinde/TelegramBot

Public Properties

Property Type Description
FORMAT System.Drawing.StringFormat

Protected Properties

Property Type Description
FONT System.Drawing.Font

Public Methods

Method Description
GetImageForRooster ( Rooster rooster, UserPreferences preferences ) : Bitmap

Protected Methods

Method Description
GetAmountOfDaysAndHours ( Rooster rooster, UserPreferences preferences ) : DaysAndHoursForRooster
GetLesContents ( Rooster les, StringBuilder sb ) : void

Private Methods

Method Description
GetDayOfYearWithYear ( System.DateTime time ) : int

Method Details

GetAmountOfDaysAndHours() protected method

protected GetAmountOfDaysAndHours ( Rooster rooster, UserPreferences preferences ) : DaysAndHoursForRooster
rooster Rooster
preferences UserPreferences
return DaysAndHoursForRooster

GetImageForRooster() public method

public GetImageForRooster ( Rooster rooster, UserPreferences preferences ) : Bitmap
rooster Rooster
preferences UserPreferences
return System.Drawing.Bitmap

GetLesContents() protected abstract method

protected abstract GetLesContents ( Rooster les, StringBuilder sb ) : void
les Rooster
sb StringBuilder
return void

Property Details

FONT protected_oe static_oe property

protected static Font,System.Drawing FONT
return System.Drawing.Font

FORMAT public_oe static_oe property

public static StringFormat,System.Drawing FORMAT
return System.Drawing.StringFormat