Example #1
0
        public PendingCommitItem(PendingCommitsView view, PendingChange change)
            : base(view)
        {
            if (change == null)
            {
                throw new ArgumentNullException("change");
            }

            _change = change;

            //initially check only if this change does not belong to an "ignore" change list
            Checked = !change.IgnoreOnCommit;

            RefreshText(view.Context);
        }
 public PendingCommitItemCollection(PendingCommitsView view, IKeyedNotifyCollection <string, PendingChange> collection)
     : base(collection, view)
 {
 }