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

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

            return adapter;
        }
Exemple #2
0
        public virtual IXmlDataManagerAdapter GetXmlDataManagerAdapter(Func <IXmlDataManagerAdapter, IXmlDataManagerAdapter> adapterFunc)
        {
            var adapter = new XmlDataManagerAdapter();

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

            return(adapter);
        }