Inline C# Functions

The inline C# functions are used to retrieve data from Datatypes and format it as usable XML for the XSLT Functions to convert into web-pages (sometimes via a Razor Function intermediary).

These are the C# functions used by the University Package:

Function: Description: Function done? Documentation done?
BaileyWeb.Data.GetAllCountryDialingCodesListDictionary Produces a custom dictionary<string,string> list of international dialing codes (Global Datatype BaileyWeb.Country). Yes Yes
BaileyWeb.Data.GetAllCountryISO2CodesListDictionary Produces a custom dictionary<string,string> list of ISO codes (2-letter) (Global Datatype BaileyWeb.Country). Yes Yes
BaileyWeb.Data.GetAllCountryUN3CodesListDictionary Produces a custom dictionary<string,string> list of UN codes (3-letter) (Global Datatype BaileyWeb.Country). Yes Yes
BaileyWeb.Data.GetAllCountryUNNumberCodesListDictionary Produces a custom dictionary<string,string> list of UN codes (numerical) (Global Datatype BaileyWeb.Country). Yes Yes
BaileyWeb.Data.GetAllHonorificsListDictionary Produces a custom dictionary<string,string> list of honorifics (Global Datatype BaileyWeb.Honorifics). Yes Yes
BaileyWeb.Data.GetSelectedHonorificsListDictionary Produces a custom dictionary<string,string> list of honorifics (Global Datatype BaileyWeb.Honorifics) where the Display value is True. Yes Yes
BaileyWeb.University.Data.GetCourseById Retrieves combined data from multiple sources for an individual course. Yes Yes
BaileyWeb.University.Data.GetCourseFeeBandsById Yes No
BaileyWeb.University.Data.GetModuleById Retrieves combined data from multiple sources for an individual module. Yes Yes
BaileyWeb.University.Data.GetModuleFeeBandsById Yes No
BaileyWeb.University.Data.GetPersonById Retrieves combined data from multiple sources for an individual person. Yes Yes
BaileyWeb.University.Data.GetSubjectById Retrieves combined data from multiple sources for an individual subject. Yes Yes
BaileyWeb.University.Data.ListBuildingsAsDictionary Produces a custom dictionary<string,string> list of buildings (Page Datafolder BaileyWeb.University.Buildings), grouped by location (Page Datafolder BaileyWeb.University.Locations). Yes Yes
BaileyWeb.University.Data.ListSubjectsAsDictionary Produces a custom dictionary<string,string> list of subjects (Page Datafolder BaileyWeb.University.Subjects), grouped by education levels (Global Datatype BaileyWeb.University.EducationLevels). Yes Yes
BaileyWeb.University.Data.SearchCourses Retrieves combined data from multiple sources for all courses, or a list of courses filtered by a search criteria. Yes Yes
BaileyWeb.University.Data.SearchCourseYears Retrieves a list of upcoming start date years from courses (Page Datafolder BaileyWeb.University.Courses). Yes Yes
BaileyWeb.University.Data.SearchModules Retrieves combined data from multiple sources for all modules, or a list of modules filtered by a search criteria. Yes Yes
BaileyWeb.University.Data.SearchPeople Retrieves combined data from multiple sources for all people, or a list of people filtered by a search criteria. Yes Yes
BaileyWeb.University.Data.SearchSubjects Retrieves combined data from multiple sources for all subjects, or a list of subjects filtered by a search criteria. Yes Yes
BaileyWeb.University.Pages.ShowPageContent Takes content from one page and displays it on another. Yes Yes

Updated: 06 April 2020