C# Class N2.Web.Mvc.Html.ResourcesExtensions

Renders resources on a view.
Show file Open project: n2cms/n2cms Class Usage Examples

Public Methods

Method Description
Bootstrap ( this registrator ) : ResourcesHelper
BootstrapColumnClass ( this registrator, int colSpan, BootstrapScreenSize size ) : ResourcesHelper
BootstrapColumnClass ( int colSpan, BootstrapScreenSize size ) : string
BootstrapCss ( this registrator ) : ResourcesHelper
BootstrapJs ( this registrator ) : ResourcesHelper
BootstrapRowClass ( this registrator, bool fluid = false ) : ResourcesHelper
BootstrapRowClass ( bool fluid = false ) : string
CkEditor ( this registrator ) : ResourcesHelper
Constants ( this registrator ) : ResourcesHelper
Fancybox ( this registrator ) : ResourcesHelper

Includes the Fancybox Jquery plugin. Requires JQuery to be included on your page already. See https://github.com/fancyapps/fancyBox for instructions. You need to add a script like this somewhere in your page: $(document).ready(function() { $(".fancybox").fancybox(); });

GetResourceStateCollection ( this context ) : ICollection
IconsCss ( this registrator ) : ResourcesHelper
JQuery ( this registrator, bool preview = true ) : ResourcesHelper
JQueryPlugins ( this registrator, bool includeJQuery = true ) : ResourcesHelper
JQueryUi ( this registrator, bool includeJQuery = true ) : ResourcesHelper
PartsCss ( this registrator ) : ResourcesHelper
PartsJs ( this registrator ) : ResourcesHelper
Resources ( this html ) : ResourcesHelper
Resources ( this html, TextWriter writer ) : ResourcesHelper

Method Details

Bootstrap() public static method

public static Bootstrap ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

BootstrapColumnClass() public static method

public static BootstrapColumnClass ( this registrator, int colSpan, BootstrapScreenSize size ) : ResourcesHelper
registrator this
colSpan int
size BootstrapScreenSize
return ResourcesHelper

BootstrapColumnClass() public static method

public static BootstrapColumnClass ( int colSpan, BootstrapScreenSize size ) : string
colSpan int
size BootstrapScreenSize
return string

BootstrapCss() public static method

public static BootstrapCss ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

BootstrapJs() public static method

public static BootstrapJs ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

BootstrapRowClass() public static method

public static BootstrapRowClass ( this registrator, bool fluid = false ) : ResourcesHelper
registrator this
fluid bool
return ResourcesHelper

BootstrapRowClass() public static method

public static BootstrapRowClass ( bool fluid = false ) : string
fluid bool
return string

CkEditor() public static method

public static CkEditor ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

Constants() public static method

public static Constants ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

Fancybox() public static method

Includes the Fancybox Jquery plugin. Requires JQuery to be included on your page already. See https://github.com/fancyapps/fancyBox for instructions. You need to add a script like this somewhere in your page: $(document).ready(function() { $(".fancybox").fancybox(); });
public static Fancybox ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

GetResourceStateCollection() public static method

public static GetResourceStateCollection ( this context ) : ICollection
context this
return ICollection

IconsCss() public static method

public static IconsCss ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

JQuery() public static method

public static JQuery ( this registrator, bool preview = true ) : ResourcesHelper
registrator this
preview bool
return ResourcesHelper

JQueryPlugins() public static method

public static JQueryPlugins ( this registrator, bool includeJQuery = true ) : ResourcesHelper
registrator this
includeJQuery bool
return ResourcesHelper

JQueryUi() public static method

public static JQueryUi ( this registrator, bool includeJQuery = true ) : ResourcesHelper
registrator this
includeJQuery bool
return ResourcesHelper

PartsCss() public static method

public static PartsCss ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

PartsJs() public static method

public static PartsJs ( this registrator ) : ResourcesHelper
registrator this
return ResourcesHelper

Resources() public static method

public static Resources ( this html ) : ResourcesHelper
html this
return ResourcesHelper

Resources() public static method

public static Resources ( this html, TextWriter writer ) : ResourcesHelper
html this
writer System.IO.TextWriter
return ResourcesHelper