C# Class ClipboardHistoryApp.Classes.ClipboardService

Inheritance: IDisposable
Afficher le fichier Open project: kavengagne/ClipboardHistory Class Usage Examples

Méthodes publiques

Méthode Description
ClipboardService ( Action notificationCallback ) : System
DisableNotifications ( ) : void
Dispose ( ) : void
EnableNotifications ( ) : void
GetClipboardDataItem ( ) : ClipboardHistoryApp.Models.ClipboardDataItem
SetClipboardText ( string text, Action errorCallback ) : void
SetWindowHandle ( IntPtr mainWindowHandle ) : void

Private Methods

Méthode Description
Dispose ( bool disposing ) : void
GetUniqueKey ( Message message, ClipboardHistoryApp.Models.ClipboardDataItem data ) : string
OnClipboardUpdate ( Message message ) : void

Method Details

ClipboardService() public méthode

public ClipboardService ( Action notificationCallback ) : System
notificationCallback Action
Résultat System

DisableNotifications() public méthode

public DisableNotifications ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EnableNotifications() public méthode

public EnableNotifications ( ) : void
Résultat void

GetClipboardDataItem() public méthode

public GetClipboardDataItem ( ) : ClipboardHistoryApp.Models.ClipboardDataItem
Résultat ClipboardHistoryApp.Models.ClipboardDataItem

SetClipboardText() public méthode

public SetClipboardText ( string text, Action errorCallback ) : void
text string
errorCallback Action
Résultat void

SetWindowHandle() public méthode

public SetWindowHandle ( IntPtr mainWindowHandle ) : void
mainWindowHandle System.IntPtr
Résultat void