C# Class Smrf.SocialNetworkLib.Twitter.TwitterStatusTextParser

Parses the text of a Twitter status (tweet).
A tweet is known as a "status" in the Twitter API, so "status" is the term used in this class's methods.
Inheritance: Object
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Свойство Type Description
m_oMentionedRegex System.Text.RegularExpressions.Regex
m_oRepliedToRegex System.Text.RegularExpressions.Regex

Méthodes publiques

Méthode Description
GetScreenNames ( String statusText, String &repliedToScreenName, String &uniqueMentionedScreenNames ) : void
TwitterStatusTextParser ( ) : System

Initializes a new instance of the class.

Méthodes protégées

Méthode Description
ReplacePunctuationWithSpaces ( String sStatusText ) : String

Private Methods

Méthode Description
AssertValid ( ) : void

Method Details

GetScreenNames() public méthode

public GetScreenNames ( String statusText, String &repliedToScreenName, String &uniqueMentionedScreenNames ) : void
statusText String
repliedToScreenName String
uniqueMentionedScreenNames String
Résultat void

ReplacePunctuationWithSpaces() protected méthode

protected ReplacePunctuationWithSpaces ( String sStatusText ) : String
sStatusText String
Résultat String

TwitterStatusTextParser() public méthode

Initializes a new instance of the class.
public TwitterStatusTextParser ( ) : System
Résultat System

Property Details

m_oMentionedRegex protected_oe property

protected Regex,System.Text.RegularExpressions m_oMentionedRegex
Résultat System.Text.RegularExpressions.Regex

m_oRepliedToRegex protected_oe property

protected Regex,System.Text.RegularExpressions m_oRepliedToRegex
Résultat System.Text.RegularExpressions.Regex