예제 #1
0
        public FieldProfileXmlWrapper ToXmlWrapper(IFieldProfile param)
        {
            FieldProfileXmlWrapper txw = new FieldProfileXmlWrapper();

            txw.Caption = param.Caption;
            return(txw);
        }
예제 #2
0
        public IFieldProfile ToObject(IFieldProfile wrapper)
        {
            AFieldProfile b = parameters.Profiles.First(r => r.Caption == wrapper.Caption);

            return(b);
        }