コード例 #1
0
 /// <summary>
 /// Event handler for when the requested history entry count has been received.
 /// </summary>
 /// <param name="entryCount">Received entry count.</param>
 void OnReceivedHistoryEntryCount(int?entryCount)
 {
     RemoveRequest(k_RequestEntryNumber);
     EntryCountUpdated?.Invoke(entryCount);
 }
コード例 #2
0
 public void SetNumberOfEntries(int count)
 {
     Assert.NotNull(EntryCountUpdated, "There should be an receiver for the entry number count event.");
     EntryCountUpdated.Invoke(count);
 }