C# Class Host.Services.NotificationManager

Inheritance: INotificationService, INotifierContext
Mostra file Open project: Invenietis/ck-certified Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
GetDefaultContent ( string title, string content ) : UIElement
ShowCustomBaloon ( System.Guid pluginId, UIElement content, int duration, EventArgs>.Action imageClickAction, NotificationTypes notificationType ) : NotificationHandle

Method Details

INotifierContext() public method

public INotifierContext ( ) : void
return void

ShowNotification() public method

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
return IDisposable

ShowNotification() public method

public ShowNotification ( System.Guid pluginId, string title, string content, int duration ) : IDisposable
pluginId System.Guid
title string
content string
duration int
return IDisposable

ShowNotification() public method

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
return IDisposable

ShowNotification() public method

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
return IDisposable

ShowNotification() public method

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
return IDisposable

ShowNotification() public method

public ShowNotification ( System.Guid pluginId, Exception ex ) : void
pluginId System.Guid
ex System.Exception
return void