public void committedEventArgs_ctor_normal_should_set_values() { var expected = CommitReason.AcceptChanges; CommittedEventArgs target = new CommittedEventArgs(expected); target.Reason.Should().Be.EqualTo(expected); }
void OnCommitted(CommittedEventArgs e) { var h = this.Committed; if (h != null) { h(this, e); } }
/// <summary> /// Called when Committed event. /// </summary> protected virtual void OnCommitted(CommittedEventArgs args) { var h = this.Committed; if (h != null) { h(this, args); } }
protected override void OnCommitted(CommittedEventArgs args) { base.OnCommitted(new CommittedEventArgs(this.HackedCommitReason)); }