Ejemplo n.º 1
0
        /// <summary>
        /// Raises the event that matches the specified contract name passing the <see cref="EventArgs.Empty"/> event data.
        /// </summary>
        /// <param name="raise">The event broker.</param>
        /// <param name="contractName">The contract name of the event to raise.</param>
        /// <param name="sender">The source of the event.</param>
        public static void Raise(this IRaiseEvent raise, string contractName, object sender)
        {
            Requires.NotNull(raise, nameof(raise));

            raise.Raise(contractName, sender, EventArgs.Empty);
        }