public static void OnEmailAddressChanged(EmailAddress oldAddress, EmailAddress newAddress)
 {
     var handler = EmailAddressChanged;
     if (handler != null)
     {
         var args = new EmailAddressChangedEventArgs { OldAddress = oldAddress, NewAddress = newAddress };
         handler(null, args);
     }
 }
示例#2
0
        public static void OnEmailAddressChanged(EmailAddress oldAddress, EmailAddress newAddress)
        {
            var handler = EmailAddressChanged;

            if (handler != null)
            {
                var args = new EmailAddressChangedEventArgs {
                    OldAddress = oldAddress, NewAddress = newAddress
                };
                handler(null, args);
            }
        }