/// <summary>
        /// Called on each target vertex change.
        /// </summary>
        /// <param name="args"><see cref="EventArgs.Empty"/>.</param>
        protected virtual void OnTargetVertexChanged([NotNull] EventArgs args)
        {
            if (args is null)
            {
                throw new ArgumentNullException(nameof(args));
            }

            TargetVertexChanged?.Invoke(this, args);
        }
Пример #2
0
        /// <summary>
        /// Called on each target vertex change.
        /// </summary>
        /// <param name="args"><see cref="EventArgs.Empty"/>.</param>
        protected virtual void OnTargetVertexChanged([NotNull] EventArgs args)
        {
            Debug.Assert(args != null);

            TargetVertexChanged?.Invoke(this, args);
        }