C# Class jsreport.MVC.JsReportFilterAttribute

Inheritance: System.Attribute, IActionFilter
Afficher le fichier Open project: jsreport/net

Méthodes publiques

Méthode Description
JsReportFilterAttribute ( ) : System
JsReportFilterAttribute ( IReportingService reportingService ) : System
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Méthodes protégées

Méthode Description
AddResponseHeaders ( System.Web.Mvc.ActionExecutedContext context, EnableJsReportAttribute jsreportAttribute, Report output ) : void
CreateRenderingRequest ( System.Web.Mvc.ActionExecutedContext context, EnableJsReportAttribute jsreportAttribute, string htmlContent ) : object
RemoveVisualStudioBrowserLink ( string content ) : string
RenderPartialViewToString ( System.Web.Mvc.ActionExecutedContext context, string viewName, object model ) : string
RenderReport ( System.Web.Mvc.ActionExecutedContext context, EnableJsReportAttribute jsreportAttribute, string htmlContent ) : Task
ShouldUseJsReport ( System.Web.Mvc.ActionExecutedContext filterContext, EnableJsReportAttribute &attr ) : bool

Private Methods

Méthode Description
ConvertToDynamic ( object o ) : object

Method Details

AddResponseHeaders() protected méthode

protected AddResponseHeaders ( System.Web.Mvc.ActionExecutedContext context, EnableJsReportAttribute jsreportAttribute, Report output ) : void
context System.Web.Mvc.ActionExecutedContext
jsreportAttribute EnableJsReportAttribute
output jsreport.Client.Report
Résultat void

CreateRenderingRequest() protected méthode

protected CreateRenderingRequest ( System.Web.Mvc.ActionExecutedContext context, EnableJsReportAttribute jsreportAttribute, string htmlContent ) : object
context System.Web.Mvc.ActionExecutedContext
jsreportAttribute EnableJsReportAttribute
htmlContent string
Résultat object

JsReportFilterAttribute() public méthode

public JsReportFilterAttribute ( ) : System
Résultat System

JsReportFilterAttribute() public méthode

public JsReportFilterAttribute ( IReportingService reportingService ) : System
reportingService IReportingService
Résultat System

OnActionExecuted() public méthode

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
Résultat void

OnActionExecuting() public méthode

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
Résultat void

RemoveVisualStudioBrowserLink() protected méthode

protected RemoveVisualStudioBrowserLink ( string content ) : string
content string
Résultat string

RenderPartialViewToString() protected méthode

protected RenderPartialViewToString ( System.Web.Mvc.ActionExecutedContext context, string viewName, object model ) : string
context System.Web.Mvc.ActionExecutedContext
viewName string
model object
Résultat string

RenderReport() protected méthode

protected RenderReport ( System.Web.Mvc.ActionExecutedContext context, EnableJsReportAttribute jsreportAttribute, string htmlContent ) : Task
context System.Web.Mvc.ActionExecutedContext
jsreportAttribute EnableJsReportAttribute
htmlContent string
Résultat Task

ShouldUseJsReport() protected méthode

protected ShouldUseJsReport ( System.Web.Mvc.ActionExecutedContext filterContext, EnableJsReportAttribute &attr ) : bool
filterContext System.Web.Mvc.ActionExecutedContext
attr EnableJsReportAttribute
Résultat bool