C# 클래스 Common.Controller.ControllerExtentions

파일 보기 프로젝트 열기: rabbal/Mvc5

공개 메소드들

메소드 설명
GetListOfErrors ( this modelState ) : string
GetUserManagerErros ( this errors ) : string
IsEmbeddedIntoAnotherDomain ( this controller ) : bool
NotyAlert ( this controller, string message, bool isSticky = false ) : void
NotyError ( this controller, string message, bool isSticky = false ) : void
NotyInformation ( this controller, string message, bool isSticky = false ) : void
NotySuccess ( this controller, string message, bool isSticky = false ) : void
NotySuccessModal ( this controller, string message, bool isSticky = false, MessageLocation location = MessageLocation.center ) : void
NotyWarning ( this controller, string message, bool isSticky = false ) : void
RenderPartialViewToString ( this controller ) : string

Render partial view to string

RenderPartialViewToString ( this controller, object model ) : string

Render partial view to string

RenderPartialViewToString ( this controller, string viewName ) : string

Render partial view to string

RenderPartialViewToString ( this controller, string viewName, object model ) : string

Render partial view to string

RenderViewToString ( this controller ) : string

Render view to string

RenderViewToString ( this controller, object model ) : string

Render view to string

RenderViewToString ( this controller, string viewName ) : string

Render view to string

RenderViewToString ( this controller, string viewName, string masterName ) : string

Render view to string

RenderViewToString ( this controller, string viewName, string masterName, object model ) : string

Render view to string

비공개 메소드들

메소드 설명
AddNotyAlert ( this controller, NotyMessage message ) : void
ThrowIfViewNotFound ( System.Web.Mvc.ViewEngineResult viewResult, string viewName ) : void

메소드 상세

GetListOfErrors() 공개 정적인 메소드

public static GetListOfErrors ( this modelState ) : string
modelState this
리턴 string

GetUserManagerErros() 공개 정적인 메소드

public static GetUserManagerErros ( this errors ) : string
errors this
리턴 string

IsEmbeddedIntoAnotherDomain() 공개 정적인 메소드

public static IsEmbeddedIntoAnotherDomain ( this controller ) : bool
controller this
리턴 bool

NotyAlert() 공개 정적인 메소드

public static NotyAlert ( this controller, string message, bool isSticky = false ) : void
controller this
message string
isSticky bool
리턴 void

NotyError() 공개 정적인 메소드

public static NotyError ( this controller, string message, bool isSticky = false ) : void
controller this
message string
isSticky bool
리턴 void

NotyInformation() 공개 정적인 메소드

public static NotyInformation ( this controller, string message, bool isSticky = false ) : void
controller this
message string
isSticky bool
리턴 void

NotySuccess() 공개 정적인 메소드

public static NotySuccess ( this controller, string message, bool isSticky = false ) : void
controller this
message string
isSticky bool
리턴 void

NotySuccessModal() 공개 정적인 메소드

public static NotySuccessModal ( this controller, string message, bool isSticky = false, MessageLocation location = MessageLocation.center ) : void
controller this
message string
isSticky bool
location MessageLocation
리턴 void

NotyWarning() 공개 정적인 메소드

public static NotyWarning ( this controller, string message, bool isSticky = false ) : void
controller this
message string
isSticky bool
리턴 void

RenderPartialViewToString() 공개 정적인 메소드

Render partial view to string
public static RenderPartialViewToString ( this controller ) : string
controller this
리턴 string

RenderPartialViewToString() 공개 정적인 메소드

Render partial view to string
public static RenderPartialViewToString ( this controller, object model ) : string
controller this
model object Model
리턴 string

RenderPartialViewToString() 공개 정적인 메소드

Render partial view to string
public static RenderPartialViewToString ( this controller, string viewName ) : string
controller this
viewName string View name
리턴 string

RenderPartialViewToString() 공개 정적인 메소드

Render partial view to string
public static RenderPartialViewToString ( this controller, string viewName, object model ) : string
controller this
viewName string View name
model object Model
리턴 string

RenderViewToString() 공개 정적인 메소드

Render view to string
public static RenderViewToString ( this controller ) : string
controller this
리턴 string

RenderViewToString() 공개 정적인 메소드

Render view to string
public static RenderViewToString ( this controller, object model ) : string
controller this
model object Model
리턴 string

RenderViewToString() 공개 정적인 메소드

Render view to string
public static RenderViewToString ( this controller, string viewName ) : string
controller this
viewName string View name
리턴 string

RenderViewToString() 공개 정적인 메소드

Render view to string
public static RenderViewToString ( this controller, string viewName, string masterName ) : string
controller this
viewName string View name
masterName string
리턴 string

RenderViewToString() 공개 정적인 메소드

Render view to string
public static RenderViewToString ( this controller, string viewName, string masterName, object model ) : string
controller this
viewName string View name
masterName string Master name
model object Model
리턴 string