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

Renders resources on a view.
Afficher le fichier Open project: n2cms/n2cms Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public static Bootstrap ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

BootstrapColumnClass() public static méthode

public static BootstrapColumnClass ( this registrator, int colSpan, BootstrapScreenSize size ) : ResourcesHelper
registrator this
colSpan int
size BootstrapScreenSize
Résultat ResourcesHelper

BootstrapColumnClass() public static méthode

public static BootstrapColumnClass ( int colSpan, BootstrapScreenSize size ) : string
colSpan int
size BootstrapScreenSize
Résultat string

BootstrapCss() public static méthode

public static BootstrapCss ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

BootstrapJs() public static méthode

public static BootstrapJs ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

BootstrapRowClass() public static méthode

public static BootstrapRowClass ( this registrator, bool fluid = false ) : ResourcesHelper
registrator this
fluid bool
Résultat ResourcesHelper

BootstrapRowClass() public static méthode

public static BootstrapRowClass ( bool fluid = false ) : string
fluid bool
Résultat string

CkEditor() public static méthode

public static CkEditor ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

Constants() public static méthode

public static Constants ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

Fancybox() public static méthode

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
Résultat ResourcesHelper

GetResourceStateCollection() public static méthode

public static GetResourceStateCollection ( this context ) : ICollection
context this
Résultat ICollection

IconsCss() public static méthode

public static IconsCss ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

JQuery() public static méthode

public static JQuery ( this registrator, bool preview = true ) : ResourcesHelper
registrator this
preview bool
Résultat ResourcesHelper

JQueryPlugins() public static méthode

public static JQueryPlugins ( this registrator, bool includeJQuery = true ) : ResourcesHelper
registrator this
includeJQuery bool
Résultat ResourcesHelper

JQueryUi() public static méthode

public static JQueryUi ( this registrator, bool includeJQuery = true ) : ResourcesHelper
registrator this
includeJQuery bool
Résultat ResourcesHelper

PartsCss() public static méthode

public static PartsCss ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

PartsJs() public static méthode

public static PartsJs ( this registrator ) : ResourcesHelper
registrator this
Résultat ResourcesHelper

Resources() public static méthode

public static Resources ( this html ) : ResourcesHelper
html this
Résultat ResourcesHelper

Resources() public static méthode

public static Resources ( this html, TextWriter writer ) : ResourcesHelper
html this
writer System.IO.TextWriter
Résultat ResourcesHelper