コード例 #1
0
 /// <summary>
 /// Raises the <see cref="ValueChanged"/> event with the given arguments.
 /// </summary>
 /// <param name="args">The arguments of the event.</param>
 protected void NotifyContentChanged(MemberNodeChangeEventArgs args)
 {
     ValueChanged?.Invoke(this, args);
     FinalizeChange?.Invoke(this, args);
 }
コード例 #2
0
 /// <summary>
 /// Raises the <see cref="ValueChanging"/> event with the given parameters.
 /// </summary>
 /// <param name="args">The arguments of the event.</param>
 protected void NotifyContentChanging(MemberNodeChangeEventArgs args)
 {
     PrepareChange?.Invoke(this, args);
     ValueChanging?.Invoke(this, args);
 }
コード例 #3
0
 private void OnValueChanged(object sender, MemberNodeChangeEventArgs e)
 {
     ValueChanged?.Invoke(sender, e);
 }