예제 #1
0
		internal static Follow ParseCore(dynamic djson)
		{
			var result = new Follow
			{
				Target = TwitterClient.Current.Users.Parse(djson.target),
				Source = TwitterClient.Current.Users.Parse(djson.source),
				CreatedAt = Helper.ToDateTime(djson.created_at),
			};

			return result;
		}
예제 #2
0
		/// <summary>
		/// フォロー通知イベントを発生させます。
		/// </summary>
		/// <param name="follow"></param>
		internal void RaiseFollowEvent(Follow follow)
		{
			DebugMonitor.WriteLine("follow! {0} -> {1}", follow.Source.ScreenName, follow.Target.ScreenName);
			this.RaiseEvent(follow);
		}