コード例 #1
0
 private void HandleUnknownNotificationReceived(CommandParameterGroupList parameterGroupList)
 {
     if (UnknownNotificationReceived != null)
     {
         ThreadPool.QueueUserWorkItem(x => UnknownNotificationReceived(this, new UnknownNotificationEventArgs(parameterGroupList.First()?.First()?.Name, parameterGroupList)), null);
     }
 }
コード例 #2
0
        void INotificationHandler.HandleResponse(IQueryClient queryClient, string responseText)
        {
            CommandParameterGroupList commandParameterGroupList = CommandParameterGroupList.Parse(responseText);

            Triggered?.Invoke(queryClient, new UnknownNotificationEventArgs(commandParameterGroupList.First()?.First()?.Name, commandParameterGroupList, responseText));
        }