C# Class Archetype.Extensions.HtmlHelperExtensions

HtmlHelper extenions used for rendering an Archetype.
Mostrar archivo Open project: kgiszewski/Archetype

Public Methods

Method Description
RenderArchetypePartial ( this htmlHelper, ArchetypeFieldsetModel fieldsetModel ) : IHtmlString

Renders a single archtype partial from a fieldset

RenderArchetypePartial ( this htmlHelper, ArchetypeFieldsetModel fieldsetModel, string partialView ) : IHtmlString

Renders the archetype partial.

RenderArchetypePartial ( this htmlHelper, ArchetypeFieldsetModel fieldsetModel, string partialView, ViewDataDictionary viewDataDictionary ) : IHtmlString

Renders the archetype partial.

RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel ) : IHtmlString

Renders the archetype partials.

RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel, ViewDataDictionary viewDataDictionary ) : IHtmlString

Renders the archetype partials.

RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel, string partialPath ) : IHtmlString

Renders the archetype partials.

RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel, string partialPath, ViewDataDictionary viewDataDictionary ) : IHtmlString

Renders the archetype partials.

Private Methods

Method Description
_renderPartial ( System.Web.Mvc.HtmlHelper htmlHelper, ArchetypeFieldsetModel fieldsetModel, string partialPath, ViewDataDictionary viewDataDictionary ) : IHtmlString

Renders the fieldset partial

_renderPartials ( this htmlHelper, ArchetypeModel archetypeModel, string partialPath, ViewDataDictionary viewDataDictionary ) : IHtmlString

Renders the partials based on the model, partial path and given viewdata dictionary.

Method Details

RenderArchetypePartial() public static method

Renders a single archtype partial from a fieldset
public static RenderArchetypePartial ( this htmlHelper, ArchetypeFieldsetModel fieldsetModel ) : IHtmlString
htmlHelper this The HTML helper.
fieldsetModel ArchetypeFieldsetModel The fieldset model.
return IHtmlString

RenderArchetypePartial() public static method

Renders the archetype partial.
public static RenderArchetypePartial ( this htmlHelper, ArchetypeFieldsetModel fieldsetModel, string partialView ) : IHtmlString
htmlHelper this The HTML helper.
fieldsetModel ArchetypeFieldsetModel The fieldset model.
partialView string The partial view.
return IHtmlString

RenderArchetypePartial() public static method

Renders the archetype partial.
public static RenderArchetypePartial ( this htmlHelper, ArchetypeFieldsetModel fieldsetModel, string partialView, ViewDataDictionary viewDataDictionary ) : IHtmlString
htmlHelper this The HTML helper.
fieldsetModel ArchetypeFieldsetModel The fieldset model.
partialView string The partial view.
viewDataDictionary ViewDataDictionary The view data dictionary.
return IHtmlString

RenderArchetypePartials() public static method

Renders the archetype partials.
public static RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel ) : IHtmlString
htmlHelper this The HTML helper.
archetypeModel ArchetypeModel The archetype model.
return IHtmlString

RenderArchetypePartials() public static method

Renders the archetype partials.
public static RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel, ViewDataDictionary viewDataDictionary ) : IHtmlString
htmlHelper this The HTML helper.
archetypeModel ArchetypeModel The archetype model.
viewDataDictionary ViewDataDictionary The view data dictionary.
return IHtmlString

RenderArchetypePartials() public static method

Renders the archetype partials.
public static RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel, string partialPath ) : IHtmlString
htmlHelper this The HTML helper.
archetypeModel ArchetypeModel The archetype model.
partialPath string The partial path.
return IHtmlString

RenderArchetypePartials() public static method

Renders the archetype partials.
public static RenderArchetypePartials ( this htmlHelper, ArchetypeModel archetypeModel, string partialPath, ViewDataDictionary viewDataDictionary ) : IHtmlString
htmlHelper this The HTML helper.
archetypeModel ArchetypeModel The archetype model.
partialPath string The partial path.
viewDataDictionary ViewDataDictionary The view data dictionary.
return IHtmlString