private void RaiseUndoTransactionCompleted(ITextUndoTransaction transaction, TextUndoTransactionCompletionResult result) { EventHandler <TextUndoTransactionCompletedEventArgs> undoTransactionAdded = UndoTransactionCompleted; if (undoTransactionAdded != null) { undoTransactionAdded(this, new TextUndoTransactionCompletedEventArgs(transaction, result)); } }
private void RaiseUndoTransactionCompleted(ITextUndoTransaction transaction, TextUndoTransactionCompletionResult result) { EventHandler <TextUndoTransactionCompletedEventArgs> undoTransactionAdded = UndoTransactionCompleted; undoTransactionAdded?.Invoke(this, new TextUndoTransactionCompletedEventArgs(transaction, result)); }
/// <summary> /// Initializes a new instance of <see cref="TextUndoTransactionCompletedEventArgs"/>. /// </summary> /// <param name="transaction">The <see cref="ITextUndoTransaction"/>.</param> /// <param name="result">The <see cref="TextUndoTransactionCompletionResult"/>.</param> /// <exception cref="ArgumentNullException"><paramref name="transaction"/> is null.</exception> public TextUndoTransactionCompletedEventArgs(ITextUndoTransaction transaction, TextUndoTransactionCompletionResult result) { this.transaction = transaction; this.result = result; }
private void RaiseUndoTransactionCompleted(ITextUndoTransaction transaction, TextUndoTransactionCompletionResult result) { EventHandler<TextUndoTransactionCompletedEventArgs> undoTransactionAdded = UndoTransactionCompleted; undoTransactionAdded?.Invoke(this, new TextUndoTransactionCompletedEventArgs(transaction, result)); }