C# Класс Rebel.Cms.Web.Model.BackOffice.Editors.NotificationMessage

Represents a notification sent to the admin in the back-office
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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

Описание методов

Equals() публичный Метод

Override equals operator as messages will be the same with the same id
public Equals ( object obj ) : bool
obj object
Результат bool

GetHashCode() публичный Метод

Override GetHashCode as messages will be the same with the same id
public GetHashCode ( ) : int
Результат int

NotificationMessage() публичный Метод

Constructor
public NotificationMessage ( ) : System
Результат System

NotificationMessage() публичный Метод

public NotificationMessage ( string msg ) : System
msg string
Результат System

NotificationMessage() публичный Метод

public NotificationMessage ( string msg, NotificationType type ) : System
msg string
type NotificationType
Результат System

NotificationMessage() публичный Метод

Constructor with message, notification type defaults to Info
public NotificationMessage ( string msg, string title ) : System
msg string
title string
Результат System

NotificationMessage() публичный Метод

Constructor with message and type
public NotificationMessage ( string msg, string title, NotificationType type ) : System
msg string
title string
type NotificationType
Результат System