public ActionSetting this[string key]
 {
     get
     {
         ActionSetting setting = this.FindByName(key);
         if (setting == null)
         {
             setting = new ActionSetting(key, string.Empty);
             this.List.Add(setting);
         }
         return(setting);
     }
     set
     {
         int  i     = 0;
         bool found = false;
         for (i = 0; i < this.List.Count; i++)
         {
             if (((ActionSetting)this.List[i]).Name.ToLower() == value.Name.ToLower())
             {
                 found = true;
                 break;
             }
         }
         if (found)
         {
             this.List[i] = value;
         }
         else
         {
             this.List.Add(value);
         }
     }
 }
 public void Add(ActionSetting item)
 {
     this.List.Add(item);
 }