public static string[]? GetFileDrop(this IReadFromClipboard clip) => clip.GetData(DataFormats.FileDrop) as string[];
public static BitmapSource?GetImage(this IReadFromClipboard clip) => clip.GetData(DataFormats.Bitmap) as BitmapSource;
public static Stream?GetAudio(this IReadFromClipboard clip) => clip.GetData(DataFormats.WaveAudio) as Stream;
public static bool ContainsImage(this IReadFromClipboard clip) => clip.ContainsData(DataFormats.Bitmap);
public static bool ContainsFileDropList(this IReadFromClipboard clip) => clip.ContainsData(DataFormats.FileDrop);
public static bool ContainsAudio(this IReadFromClipboard clip) => clip.ContainsData(DataFormats.WaveAudio);
public ClipboardMonitorViewModel(IClipboardNotification notifier, IReadFromClipboard reader) { this.reader = reader; notifier.ClipboardUpdate += GetContents; }