private void ServiceCommandManager_Removed(object sender, ServiceCommandEventArgs e)
        {
            ServiceCommand value;

            _serviceCommand.TryRemove(e.Command.ServiceId, out value);
        }
 /// <summary>
 /// 处理ServiceCommandManager控件的Add事件.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="ServiceCommandEventArgs" /> instance containing the event data.</param>
 public void ServiceCommandManager_Add(object sender, ServiceCommandEventArgs e)
 {
     _serviceCommand.GetOrAdd(e.Command.ServiceId, e.Command);
 }