C# 클래스 Manos.Mvc.Controller

파일 보기 프로젝트 열기: toptensoftware/manos 1 사용 예제들

공개 메소드들

메소드 설명
Content ( string content, string contentType = null, System contentEncoding = null ) : ContentResult
File ( byte data, string contentType = null, string fileName = null ) : FileBytesResult
File ( string sourceFile, string contentType = null, string fileName = null ) : FileResult
File ( Stream data, string contentType, string fileName = null ) : FileStreamResult
Json ( object data, string contentType = null, System contentEncoding = null ) : JsonResult
PartialView ( object model ) : ViewResult
PartialView ( string viewname = null, object model = null ) : ViewResult
Redirect ( string url ) : RedirectResult
TryUpdateModel ( object model, string include_fields = null, string exclude_fields = null ) : bool
View ( object model ) : ViewResult
View ( string viewname = null, object model = null ) : ViewResult

메소드 상세

Content() 공개 메소드

public Content ( string content, string contentType = null, System contentEncoding = null ) : ContentResult
content string
contentType string
contentEncoding System
리턴 ContentResult

File() 공개 메소드

public File ( byte data, string contentType = null, string fileName = null ) : FileBytesResult
data byte
contentType string
fileName string
리턴 FileBytesResult

File() 공개 메소드

public File ( string sourceFile, string contentType = null, string fileName = null ) : FileResult
sourceFile string
contentType string
fileName string
리턴 FileResult

File() 공개 메소드

public File ( Stream data, string contentType, string fileName = null ) : FileStreamResult
data Stream
contentType string
fileName string
리턴 FileStreamResult

Json() 공개 메소드

public Json ( object data, string contentType = null, System contentEncoding = null ) : JsonResult
data object
contentType string
contentEncoding System
리턴 JsonResult

PartialView() 공개 메소드

public PartialView ( object model ) : ViewResult
model object
리턴 ViewResult

PartialView() 공개 메소드

public PartialView ( string viewname = null, object model = null ) : ViewResult
viewname string
model object
리턴 ViewResult

Redirect() 공개 메소드

public Redirect ( string url ) : RedirectResult
url string
리턴 RedirectResult

TryUpdateModel() 공개 메소드

public TryUpdateModel ( object model, string include_fields = null, string exclude_fields = null ) : bool
model object
include_fields string
exclude_fields string
리턴 bool

View() 공개 메소드

public View ( object model ) : ViewResult
model object
리턴 ViewResult

View() 공개 메소드

public View ( string viewname = null, object model = null ) : ViewResult
viewname string
model object
리턴 ViewResult