Пример #1
0
		public void SetFields(Field[] fieldValues)
		{
			foreach (Field fieldValue in fieldValues)
			{
				int index = this.fields.FindIndex(delegate(Field f) { return f.Name == fieldValue.Name; });

				if (index != -1)
					this.fields[index] = fieldValue;

			}
		}
Пример #2
0
		public void AddFieldRange(Field[] fields)
		{
			this.fields.AddRange(fields);
		}
Пример #3
0
		public void AddField(Field field)
		{
			this.fields.Add(field);
		}