/// <summary> /// Creates a UsnRecord /// </summary> public UsnRecord(FileId file, FileId container, Usn usn, UsnChangeReasons reasons) { FileId = file; ContainerFileId = container; Usn = usn; Reason = reasons; }
/// <nodoc /> public ReadUsnJournalResult(ReadUsnJournalStatus status, Usn nextUsn, IReadOnlyCollection <UsnRecord> records) { Contract.Requires((status == ReadUsnJournalStatus.Success) == (records != null), "Records list should be present only on success"); Status = status; NextUsn = nextUsn; Records = records; }
/// <summary> /// Creates a MiniUsnRecord /// </summary> public MiniUsnRecord(FileId file, Usn usn) { FileId = file; Usn = usn; }