internal RevisionBrowserItem(string name, DateTime timestamp, string sha,
                              RevisionBrowserBaseItem parent, RevisionBrowserModel owner, string tooltipText, bool isReviewed,
                              int invertedDisplayIndex)
     : base(parent, owner)
 {
     Name = name;
     InvertedDisplayIndex = invertedDisplayIndex;
     Timestamp            = timestamp.ToString(Constants.TimeStampFormat);
     FullSHA     = sha;
     TooltipText = tooltipText;
     IsReviewed  = isReviewed;
 }
 internal RevisionBrowserItem(string name, DateTime timestamp, string sha,
                              RevisionBrowserBaseItem parent, RevisionBrowserModel owner, string description, bool isReviewed,
                              int invertedDisplayIndex)
     : base(parent, owner)
 {
     Name = name;
     InvertedDisplayIndex = invertedDisplayIndex;
     _timestamp           = timestamp;
     Timestamp            = TimeUtils.DateTimeToString(timestamp);
     FullSHA     = sha;
     Description = description;
     IsReviewed  = isReviewed;
 }
        internal RevisionBrowserTypeItem(RevisionType type, RevisionBrowserModel owner)
            : base(null, owner)
        {
            Type = type;
            switch (type)
            {
            case RevisionType.Commit: Name = "Commits"; break;

            case RevisionType.Version: Name = "Versions"; break;

            default: Debug.Assert(false); break;
            }
            TimeAgo = String.Empty;
        }
 internal RevisionBrowserBaseItem(RevisionBrowserBaseItem parent, RevisionBrowserModel owner)
 {
     Parent = parent;
     Owner  = owner;
 }