Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created January 13, 2019 17:41
Show Gist options
  • Save bjoerntx/fd86530f3eea1cf3a065a48f3bb51232 to your computer and use it in GitHub Desktop.
Save bjoerntx/fd86530f3eea1cf3a065a48f3bb51232 to your computer and use it in GitHub Desktop.
public class TrackedChangeModel
{
public string DocumentName { get; set; }
public DateTime FirstChange { get; set; } = DateTime.MaxValue;
public List<TrackedChange> TrackedChanges { get; set; } = new List<TrackedChange>();
}
public class TrackedChange
{
public string UserName { get; set; }
public DateTime ChangeTime { get; set; }
public string Text { get; set; }
public string HighlightColor { get; set; }
public ChangeKind ChangeKind { get; set; }
public string Image { get; set; }
}
public enum ChangeKind
{
InsertedText = 4096,
DeletedText = 8192
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment