示例#1
0
 public void NotifyDNotificationChangeset(DNotificationChangeset changeset)
 {
     try
     {
         _serviceListener?.Notify(changeset);
     }
     catch { }
 }
        public void NotifyDNotificationChangeset(DNotificationChangeset changeset)
        {
            var callback = Callback;

            if (callback != null)
            {
                callback.NotifyDNotificationChangeset(changeset);
            }
            else
            {
                _scheduled.Enqueue(c => { c.NotifyDNotificationChangeset(changeset); });
            }
        }
示例#3
0
 public void Notify(DNotificationChangeset changeset)
 {
     try
     {
         //_serverCallback.NotifyDNotificationChangeset(changeset);
         _notificationCompletionSource.SetResult(changeset);
     }
     catch (Exception ex)
     {
         if (ex != null)
         {
         }
     }
 }
示例#4
0
 public void NotifyDNotificationChangeset(DNotificationChangeset changeset)
 {
 }