public FieldSet(IFieldSet fieldset) { this.fieldset = fieldset; if (fieldset == null) fields = new Dictionary<string, IFieldData>(); else fields = fieldset.ToDictionary(x => x.Key, y => CreateField(y.Value)); }