Beispiel #1
0
 private DataSettings ChangeListData(DataSettings dataSettings, ListData listData)
 {
     for (int i = 0; i < dataSettings.Lists.Count; i++)
     {
         if (listData.ListDef.Name == dataSettings.Lists[i].ListDef.Name)
         {
             return(dataSettings.ChangeListDefs(dataSettings.Lists.ReplaceAt(i, listData)));
         }
     }
     throw new ArgumentException(string.Format(Resources.ListColumnPropertyDescriptor_ChangeListData_No_such_list__0_, listData.ListDef.Name));
 }