コード例 #1
0
ファイル: D2gsHandler.cs プロジェクト: DatBear/OmegaBot
 protected void Pong(byte type, List <byte> data)
 {
     UpdateTimestamp?.Invoke();
 }
コード例 #2
0
ファイル: QuoteMessage.cs プロジェクト: xulinqiu/QuoteViewer
 /// <summary>
 /// Gets a string representation for the specified <c>SessionBMessage</c> instance.
 /// </summary>
 /// <returns>A string that contains the message type and update time.</returns>
 public override string ToString()
 {
     return(string.Format("{0}<{1}>", GetType().Name, UpdateTimestamp.ToString("yyyyMMddHHmmss")));
 }