public FileNotification(IFile file, FileNotificationKind notificationKind) { File = file; NotificationKind = notificationKind; }
protected FileNotificationBase(FileInfo fileInfo, FileNotificationKind kind) { if (fileInfo == null) throw new ArgumentNullException(nameof(fileInfo)); FileInfo = fileInfo; Kind = kind; }