public static TextSms AsUnicode(this TextSms textSms) { Contract.Requires(textSms != null); Contract.Ensures(Contract.Result <TextSms>() == textSms); return(textSms.Assign(s => s.IsUnicode = true)); }
public static TextSms WithAutomaticUnicodeRecognition(this TextSms textSms) { Contract.Requires(textSms != null); Contract.Ensures(Contract.Result <TextSms>() == textSms); return(textSms.Assign(s => s.AutomaticUnicodeRecognition = true)); }
public static TextSms Text(this TextSms textSms, string text) { Contract.Requires(textSms != null); Contract.Ensures(Contract.Result <TextSms>() == textSms); return(textSms.Assign(s => s.Text = text)); }