public virtual IXmlDataManagerAdapter GetXmlDataManagerAdapter(Func<IXmlDataManagerAdapter, IXmlDataManagerAdapter> adapterFunc) {
            var adapter = new XmlDataManagerAdapter();

            if(adapterFunc != null)
                return adapterFunc(adapter);

            return adapter;
        }
Пример #2
0
        public virtual IXmlDataManagerAdapter GetXmlDataManagerAdapter(Func <IXmlDataManagerAdapter, IXmlDataManagerAdapter> adapterFunc)
        {
            var adapter = new XmlDataManagerAdapter();

            if (adapterFunc != null)
            {
                return(adapterFunc(adapter));
            }

            return(adapter);
        }