public EmailNotificationRecipientJobData(JToken node) : base(node)
 {
     if (node["providerType"] != null)
     {
         this._ProviderType = (EmailNotificationRecipientProviderType)StringEnum.Parse(typeof(EmailNotificationRecipientProviderType), node["providerType"].Value <string>());
     }
 }
 public EmailNotificationRecipientJobData(XmlElement node) : base(node)
 {
     foreach (XmlElement propertyNode in node.ChildNodes)
     {
         switch (propertyNode.Name)
         {
         case "providerType":
             this._ProviderType = (EmailNotificationRecipientProviderType)StringEnum.Parse(typeof(EmailNotificationRecipientProviderType), propertyNode.InnerText);
             continue;
         }
     }
 }