C# Class Rebel.Cms.Web.Model.BackOffice.Editors.NotificationMessage

Represents a notification sent to the admin in the back-office
Exibir arquivo Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Equals ( object obj ) : bool

Override equals operator as messages will be the same with the same id

GetHashCode ( ) : int

Override GetHashCode as messages will be the same with the same id

NotificationMessage ( ) : System

Constructor

NotificationMessage ( string msg ) : System
NotificationMessage ( string msg, NotificationType type ) : System
NotificationMessage ( string msg, string title ) : System

Constructor with message, notification type defaults to Info

NotificationMessage ( string msg, string title, NotificationType type ) : System

Constructor with message and type

Method Details

Equals() public method

Override equals operator as messages will be the same with the same id
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

Override GetHashCode as messages will be the same with the same id
public GetHashCode ( ) : int
return int

NotificationMessage() public method

Constructor
public NotificationMessage ( ) : System
return System

NotificationMessage() public method

public NotificationMessage ( string msg ) : System
msg string
return System

NotificationMessage() public method

public NotificationMessage ( string msg, NotificationType type ) : System
msg string
type NotificationType
return System

NotificationMessage() public method

Constructor with message, notification type defaults to Info
public NotificationMessage ( string msg, string title ) : System
msg string
title string
return System

NotificationMessage() public method

Constructor with message and type
public NotificationMessage ( string msg, string title, NotificationType type ) : System
msg string
title string
type NotificationType
return System