Метод | Описание | |
---|---|---|
FormatBody ( string contactName, string contactEmail, string contactMessage ) : string |
Format Body of an Email to Send via Mail Service.
|
|
RemoveFromEnd ( this s, string suffix ) : string |
Handy function to remove a suffix from the end of a string (ie: Urls).
|
|
ToEpoch ( this date ) : int |
This method is used for DateTime properties to convert the date to an Epoch date that can be used for DocumentDB range indexes. See this article for more information: http://azure.microsoft.com/blog/2014/11/19/working-with-dates-in-azure-documentdb-4/
|
public static FormatBody ( string contactName, string contactEmail, string contactMessage ) : string | ||
contactName | string | |
contactEmail | string | |
contactMessage | string | |
Результат | string |
public static RemoveFromEnd ( this s, string suffix ) : string | ||
s | this | |
suffix | string | |
Результат | string |
public static ToEpoch ( this date ) : int | ||
date | this | The incoming date to convert to epoch integer. |
Результат | int |