/// <summary>
 /// Fires when the agent activated.
 /// </summary>
 /// <param name="e"> The activated agent. </param>
 protected virtual void FireOnBoolChanged(AgentVmEventArgs e)
 {
     if (this.OnBoolChanged != null)
     {
         this.OnBoolChanged(this, e);
     }
 }
        /// <summary>
        /// This method unchecks all the other agents.
        /// </summary>
        /// <param name="sender"> The object sender. </param>
        /// <param name="e"> The current agent. </param>
        private void ChangeBoolOfAgents(object sender, AgentVmEventArgs e)
        {
            foreach (var item in this.Agents)
            {
                if (item != e.AgentVm)
                {
                    item.IsChecked = false;
                }
            }

            this.current.Invoke(new Action(() => { this.CurrentModulesFromSelectedProcess.Clear(); }));
            this.current.Invoke(new Action(() => { this.ClonedCurrentProcessesFromCheckedAgent.Clear(); }));
            this.current.Invoke(new Action(() => { this.CurrentProcessesFromCheckedAgent.Clear(); }));
        }