public async Task <string> RenderAsync(string model) { string display = PhoneNumberAttribute.GetDisplay(model); if (!string.IsNullOrWhiteSpace(display)) { model = display; } return(await TextEditComponentBase.RenderTextAsync(this, model, "yt_softelvdm_twilioprocessor_phonenumber")); }
public static string FormatPhoneNumber(string phoneNumber) { return(PhoneNumberAttribute.GetDisplay(phoneNumber)); }