public void Initialize()
        {
            this.pdnaServiceOptions = new PDNAServiceOptions
            {

                HostUrl = ConfigurationManager.AppSettings["PDNAHostUrl"],
                PDNAImageServiceKey = ConfigurationManager.AppSettings["PDNAServiceKey"],
                PDNAImageServicePath = ConfigurationManager.AppSettings["PDNAImageServicePath"],
            };
        }
        /// <summary>
        /// Validate request options
        /// </summary>
        /// <param name="options"></param>
        private void ValidateOptions(PDNAServiceOptions options)
        {
            if (options == null)
            {
                throw new ArgumentNullException("options");
            }

            if (options.HostUrl == null)
            {
                throw new ArgumentNullException("options");
            }
        }
        /// <summary>
        /// Validate request options
        /// </summary>
        /// <param name="options"></param>
        private void ValidateOptions(PDNAServiceOptions options)
        {
            if (options == null)
            {
                throw new ArgumentNullException("options");
            }

            if (options.HostUrl == null)
            {
                throw new ArgumentNullException("options");
            }
        }
 /// <summary>
 /// Main constructor for the Moderator Service
 /// </summary>
 /// <param name="options">Request options</param>
 public PDNAService(PDNAServiceOptions options)
 {
     this.ValidateOptions(options);
     this.options = options;
 }
 /// <summary>
 /// Main constructor for the Moderator Service
 /// </summary>
 /// <param name="options">Request options</param>
 public PDNAService(PDNAServiceOptions options)
 {
     this.ValidateOptions(options);
     this.options = options;
 }