public virtual IXmlDataManagerAdapter GetXmlDataManagerAdapter(Func<IXmlDataManagerAdapter, IXmlDataManagerAdapter> adapterFunc) { var adapter = new XmlDataManagerAdapter(); if(adapterFunc != null) return adapterFunc(adapter); return adapter; }
public virtual IXmlDataManagerAdapter GetXmlDataManagerAdapter(Func <IXmlDataManagerAdapter, IXmlDataManagerAdapter> adapterFunc) { var adapter = new XmlDataManagerAdapter(); if (adapterFunc != null) { return(adapterFunc(adapter)); } return(adapter); }