Beispiel #1
0
 /// <summary>
 /// Disposes the local <see cref="MailchimpConnectorFormDataSender"/>.
 /// </summary>
 private void DisposeFormDataSender()
 {
     if (this.connectorFormDataSender != null)
     {
         ConnectorFormsEventHandler.UnregisterSender(this.connectorFormDataSender);
         this.connectorFormDataSender.Dispose();
         this.connectorFormDataSender = null;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Initializes the local <see cref="MailchimpConnectorFormDataSender"/>.
 /// </summary>
 private void InitializeFormDataSender()
 {
     this.connectorFormDataSender = new MailchimpConnectorFormDataSender();
     ConnectorFormsEventHandler.RegisterSender(this.connectorFormDataSender);
 }