C# 클래스 Nop.Web.Controllers.BaseNopController

상속: Controller
파일 보기 프로젝트 열기: emilianionascu/NopCommerce

보호된 메소드들

메소드 설명
AddNotification ( NotifyType type, string message, bool persistForTheNextRequest ) : void

Display notification

ErrorNotification ( Exception exception, bool persistForTheNextRequest = true, bool logException = true ) : void

Display error notification

ErrorNotification ( string message, bool persistForTheNextRequest = true ) : void

Display error notification

SuccessNotification ( string message, bool persistForTheNextRequest = true ) : void

Display success notification

비공개 메소드들

메소드 설명
LogException ( Exception exc ) : void

Log exception

메소드 상세

AddNotification() 보호된 메소드

Display notification
protected AddNotification ( NotifyType type, string message, bool persistForTheNextRequest ) : void
type NotifyType Notification type
message string Message
persistForTheNextRequest bool A value indicating whether a message should be persisted for the next request
리턴 void

ErrorNotification() 보호된 메소드

Display error notification
protected ErrorNotification ( Exception exception, bool persistForTheNextRequest = true, bool logException = true ) : void
exception System.Exception Exception
persistForTheNextRequest bool A value indicating whether a message should be persisted for the next request
logException bool A value indicating whether exception should be logged
리턴 void

ErrorNotification() 보호된 메소드

Display error notification
protected ErrorNotification ( string message, bool persistForTheNextRequest = true ) : void
message string Message
persistForTheNextRequest bool A value indicating whether a message should be persisted for the next request
리턴 void

SuccessNotification() 보호된 메소드

Display success notification
protected SuccessNotification ( string message, bool persistForTheNextRequest = true ) : void
message string Message
persistForTheNextRequest bool A value indicating whether a message should be persisted for the next request
리턴 void