/// <summary> /// Visits the specified callback. /// </summary> /// <param name="callback">The callback.</param> /// <exception cref="ArgumentNullException">The <paramref name="callback"/> is <c>null</c>.</exception> public void Visit(OnFinallyCallback callback) { Argument.IsNotNull("callback", callback); OnFinallyCallbackCollection.Add(callback); }
/// <summary> /// Visits the specified callback. /// </summary> /// <param name="callback">The callback.</param> /// <exception cref="ArgumentNullException">The <paramref name="callback"/> is <c>null</c>.</exception> public void Visit(OnFinallyCallback callback) { Argument.IsNotNull("callback", callback); OnFinallyCallbackCollection.Add(callback); }