public FieldProfileXmlWrapper ToXmlWrapper(IFieldProfile param) { FieldProfileXmlWrapper txw = new FieldProfileXmlWrapper(); txw.Caption = param.Caption; return(txw); }
public IFieldProfile ToObject(IFieldProfile wrapper) { AFieldProfile b = parameters.Profiles.First(r => r.Caption == wrapper.Caption); return(b); }