public T Deserialize <T>(ITwitterModel model) where T : ITwitterModel { return(Deserialize <T>(model.RawSource)); }
public T Deserialize <T>(ITwitterModel model) where T : class, ITwitterModel { return(Deserialize <T>(model.RawSource != null ? model.RawSource : "")); }
private static int CompareTweet(ITwitterModel a, ITwitterModel b) { TwitterSearchStatus aS = a as TwitterSearchStatus; TwitterSearchStatus bS = b as TwitterSearchStatus; return aS.CreatedDate.CompareTo(bS.CreatedDate); }
public TweetsController(ITwitterModel twittermodel) { _twitterModel = twittermodel; }