C# Класс Host.Services.NotificationManager

Наследование: INotificationService, INotifierContext
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
INotifierContext ( ) : void
ShowNotification ( System.Guid pluginId, UIElement content, int duration, NotificationTypes notificationType, EventArgs>.Action imageClickAction ) : IDisposable

Creates a notification by directly providing a UIElement. MAKE SURE THE UIELEMENT HAS BEEN CREATED BY THE APPLICATION'S MAIN THREAD.

ShowNotification ( System.Guid pluginId, string title, string content, int duration ) : IDisposable
ShowNotification ( System.Guid pluginId, string title, string content, int duration, EventArgs>.Action imageClickAction ) : IDisposable
ShowNotification ( System.Guid pluginId, string title, string content, int duration, NotificationTypes notificationType ) : IDisposable
ShowNotification ( System.Guid pluginId, string title, string content, int duration, NotificationTypes notificationType, EventArgs>.Action imageClickAction ) : IDisposable
ShowNotification ( System.Guid pluginId, Exception ex ) : void

Приватные методы

Метод Описание
GetDefaultContent ( string title, string content ) : UIElement
ShowCustomBaloon ( System.Guid pluginId, UIElement content, int duration, EventArgs>.Action imageClickAction, NotificationTypes notificationType ) : NotificationHandle

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

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

public INotifierContext ( ) : void
Результат void

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

Creates a notification by directly providing a UIElement. MAKE SURE THE UIELEMENT HAS BEEN CREATED BY THE APPLICATION'S MAIN THREAD.
public ShowNotification ( System.Guid pluginId, UIElement content, int duration, NotificationTypes notificationType, EventArgs>.Action imageClickAction ) : IDisposable
pluginId System.Guid
content System.Windows.UIElement
duration int
notificationType NotificationTypes
imageClickAction EventArgs>.Action
Результат IDisposable

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

public ShowNotification ( System.Guid pluginId, string title, string content, int duration ) : IDisposable
pluginId System.Guid
title string
content string
duration int
Результат IDisposable

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

public ShowNotification ( System.Guid pluginId, string title, string content, int duration, EventArgs>.Action imageClickAction ) : IDisposable
pluginId System.Guid
title string
content string
duration int
imageClickAction EventArgs>.Action
Результат IDisposable

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

public ShowNotification ( System.Guid pluginId, string title, string content, int duration, NotificationTypes notificationType ) : IDisposable
pluginId System.Guid
title string
content string
duration int
notificationType NotificationTypes
Результат IDisposable

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

public ShowNotification ( System.Guid pluginId, string title, string content, int duration, NotificationTypes notificationType, EventArgs>.Action imageClickAction ) : IDisposable
pluginId System.Guid
title string
content string
duration int
notificationType NotificationTypes
imageClickAction EventArgs>.Action
Результат IDisposable

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

public ShowNotification ( System.Guid pluginId, Exception ex ) : void
pluginId System.Guid
ex System.Exception
Результат void