C# Class Nop.Web.Controllers.BaseNopController

Inheritance: Controller
Afficher le fichier Open project: emilianionascu/NopCommerce

Méthodes protégées

Méthode Description
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

Private Methods

Méthode Description
LogException ( Exception exc ) : void

Log exception

Method Details

AddNotification() protected méthode

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
Résultat void

ErrorNotification() protected méthode

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
Résultat void

ErrorNotification() protected méthode

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
Résultat void

SuccessNotification() protected méthode

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
Résultat void