C# Класс SobekCM.Library.HTML.Contact_HtmlSubwriter

Contact html subwriter renders the contact us screen and the subsequent 'Your message was sent' screen
This class extends the abstractHtmlSubwriter abstract class.
Наследование: abstractHtmlSubwriter
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Contact_HtmlSubwriter ( string Last_Mode, string UserHistoryRequestInfo, RequestCache RequestSpecificValues ) : System

Constructor for a new instance of the Contact_HtmlSubwriter class

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool

Writes the HTML generated by this contact us html subwriter directly to the response stream

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

Write any additional values within the HTML Head of the final served page

By default this does nothing, but can be overwritten by all the individual html subwriters

Приватные методы

Метод Описание
DomainMapper ( Match MatchValue ) : string
IsValidEmail ( string StrIn ) : bool

Описание методов

Contact_HtmlSubwriter() публичный Метод

Constructor for a new instance of the Contact_HtmlSubwriter class
public Contact_HtmlSubwriter ( string Last_Mode, string UserHistoryRequestInfo, RequestCache RequestSpecificValues ) : System
Last_Mode string URL for the last mode this user was in before selecting contact us
UserHistoryRequestInfo string Some history and user information to include in the final email
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
Результат System

Write_HTML() публичный Метод

Writes the HTML generated by this contact us html subwriter directly to the response stream
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат bool

Write_Within_HTML_Head() публичный Метод

Write any additional values within the HTML Head of the final served page
By default this does nothing, but can be overwritten by all the individual html subwriters
public Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Output stream currently within the HTML head tags
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Результат void