External C# Function: BaileyWeb.University.Data.Common

The External C# Function class Common contains the following public methods used across the Inline C# Functions related to the output of XML data.

Files

The following files are supplied with the University Package:

  • ~/App_Code/BaileyWeb/University/Data/Common.cs

Public Methods

Method: Description: Output type:
CurrentDateTime() Outputs the current date and time in UTC format. String
IsGuid(string Value) Checks if a string value is in GUID format. Boolean
AssembleCurrencyTitle(string Symbol, string CurrencyName, string ISO) Combines input parameters and outputs the title of a currency. String
ListPagesFromCSV(string PagesCSV) From a comma-separated values list of Page.Id GUID values, outputs a collection of XML nodes containing concise data for specified pages. XElement

Updated: 10 March 2022