示例#1
0
 public Tweet()
 {
     hashtag = Hashtag.Instance;
     mention = Mention.Instance;
     txtAbbreviation = TxtAbbreviation.Instance;
     type = "tweet";
 }
示例#2
0
        public SMS(string id, string messageTxt, string sender)
        {
            this.messageTxt = messageTxt;
            this.sender = sender;
            txtAbbreviation = TxtAbbreviation.Instance;
            this.type = "sms";
            this.id = id;

            // process the message body and check it for any abbreviations
            this.processAbbreviations();
        }
示例#3
0
        public Tweet(string id, string messageTxt, string sender)
        {
            hashtag = Hashtag.Instance;
            mention = Mention.Instance;
            type = "tweet";
            this.messageTxt = messageTxt;
            this.sender = sender;
            this.id = id;
            txtAbbreviation = TxtAbbreviation.Instance;

            this.processAbbreviations();
            this.processHashtags();
            this.processMentions();
        }
示例#4
0
 public SMS()
 {
     txtAbbreviation = TxtAbbreviation.Instance;
     this.type = "sms";
 }