Esempio n. 1
0
        public static TextSms AsUnicode(this TextSms textSms)
        {
            Contract.Requires(textSms != null);
            Contract.Ensures(Contract.Result <TextSms>() == textSms);

            return(textSms.Assign(s => s.IsUnicode = true));
        }
Esempio n. 2
0
        public static TextSms WithAutomaticUnicodeRecognition(this TextSms textSms)
        {
            Contract.Requires(textSms != null);
            Contract.Ensures(Contract.Result <TextSms>() == textSms);

            return(textSms.Assign(s => s.AutomaticUnicodeRecognition = true));
        }
Esempio n. 3
0
        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));
        }