C# 클래스 Mictlanix.BE.Web.Mvc.CustomController

상속: Controller
파일 보기 프로젝트 열기: mictlanix/mbe

공개 메소드들

메소드 설명
ExcelView ( string viewPath, object model ) : System.Web.Mvc.FileResult
GetPdf ( string viewPath, object model ) : Stream
GetPdf ( string viewPath, object model, Phantom phantom ) : Stream
GetPdfTicket ( string viewPath, object model ) : Stream
PdfTicketView ( string viewPath, object model ) : System.Web.Mvc.FileStreamResult
PdfView ( string viewPath, object model ) : System.Web.Mvc.FileStreamResult
PdfView ( string viewPath, object model, Phantom phantom ) : System.Web.Mvc.FileStreamResult
RenderPartialView ( string viewPath, object model ) : string
RenderView ( string viewPath, object model ) : string
SendEmailWithAttachment ( string recipient, string subject, string message, string attachmentName, Stream attachmentContent ) : void
SendEmailWithAttachments ( string sender, string recipient, string subject, string message, IEnumerable attachments ) : void

보호된 메소드들

메소드 설명
RenderViewToStringInternal ( string viewPath, object model, bool partial = false ) : string

메소드 상세

ExcelView() 공개 메소드

public ExcelView ( string viewPath, object model ) : System.Web.Mvc.FileResult
viewPath string
model object
리턴 System.Web.Mvc.FileResult

GetPdf() 공개 메소드

public GetPdf ( string viewPath, object model ) : Stream
viewPath string
model object
리턴 Stream

GetPdf() 공개 메소드

public GetPdf ( string viewPath, object model, Phantom phantom ) : Stream
viewPath string
model object
phantom jsreport.Client.Entities.Phantom
리턴 Stream

GetPdfTicket() 공개 메소드

public GetPdfTicket ( string viewPath, object model ) : Stream
viewPath string
model object
리턴 Stream

PdfTicketView() 공개 메소드

public PdfTicketView ( string viewPath, object model ) : System.Web.Mvc.FileStreamResult
viewPath string
model object
리턴 System.Web.Mvc.FileStreamResult

PdfView() 공개 메소드

public PdfView ( string viewPath, object model ) : System.Web.Mvc.FileStreamResult
viewPath string
model object
리턴 System.Web.Mvc.FileStreamResult

PdfView() 공개 메소드

public PdfView ( string viewPath, object model, Phantom phantom ) : System.Web.Mvc.FileStreamResult
viewPath string
model object
phantom jsreport.Client.Entities.Phantom
리턴 System.Web.Mvc.FileStreamResult

RenderPartialView() 공개 메소드

public RenderPartialView ( string viewPath, object model ) : string
viewPath string
model object
리턴 string

RenderView() 공개 메소드

public RenderView ( string viewPath, object model ) : string
viewPath string
model object
리턴 string

RenderViewToStringInternal() 보호된 메소드

protected RenderViewToStringInternal ( string viewPath, object model, bool partial = false ) : string
viewPath string
model object
partial bool
리턴 string

SendEmailWithAttachment() 공개 메소드

public SendEmailWithAttachment ( string recipient, string subject, string message, string attachmentName, Stream attachmentContent ) : void
recipient string
subject string
message string
attachmentName string
attachmentContent Stream
리턴 void

SendEmailWithAttachments() 공개 메소드

public SendEmailWithAttachments ( string sender, string recipient, string subject, string message, IEnumerable attachments ) : void
sender string
recipient string
subject string
message string
attachments IEnumerable
리턴 void