C# Class CtcApi.Web.Mvc.HtmlExtensions

Afficher le fichier Open project: BellevueCollege/CtcApi

Méthodes publiques

Méthode Description
Include ( this html, string fileAndPath ) : IHtmlString

Provides server-side include functionality

MVC does not support server-side includes on its own, so this method provides that functionality. It will include the file specified - including any nested server-side includes that are present in that file (and so on, etc.)

Private Methods

Méthode Description
ProcessIncludeFile ( string fileAndPath, System.Web.HttpServerUtilityBase server ) : string

Method Details

Include() public static méthode

Provides server-side include functionality
MVC does not support server-side includes on its own, so this method provides that functionality. It will include the file specified - including any nested server-side includes that are present in that file (and so on, etc.)
public static Include ( this html, string fileAndPath ) : IHtmlString
html this
fileAndPath string
Résultat IHtmlString