Ejemplo n.º 1
0
        public override bool IsValid(object value)
        {
            bool valid = ApiKey.CanParse(value as string);

            return(valid);
        }
Ejemplo n.º 2
0
 public ConfirmationRequest(string apiKey, string templateName, MailAddress confirmer, ApiKey toBeConfirmed, Uri confirmationUrl)
 {
     key              = apiKey;
     template_name    = templateName;
     template_content = new TemplateContent[0];
     message          = new Message(confirmer, toBeConfirmed, confirmationUrl);
 }