C# Class CtcApi.Web.Mvc.HtmlExtensions

Mostrar archivo Open project: BellevueCollege/CtcApi

Public Methods

Method 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

Method Description
ProcessIncludeFile ( string fileAndPath, System.Web.HttpServerUtilityBase server ) : string

Method Details

Include() public static method

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
return IHtmlString