public void OnMetadataCreated(ModelMetadata metadata)
 {
     metadata.AddHtmlAttribute("maxlength", MaximumLength.ToString());
 }