public DataWidget(GetDataObject dataObj, SessionImplObject sessionObj, bool useAttr) { DataObj = dataObj; SessionObj = sessionObj; GetSDMXObject = WebServiceSelector.GetSdmxImplementation(this.DataObj.Configuration); BDO = new BaseDataObject(dataObj.Configuration, System.IO.Path.GetTempFileName()); this._useAttr = useAttr; }
public DataWidget(GetDataObject dataObj, SessionImplObject sessionObj, bool useAttr, SessionQuery sessionQuery) { DataObj = dataObj; SessionObj = sessionObj; if (sessionQuery._IGetSDMX == null || (sessionQuery._endpointSettings != null && this.DataObj.Configuration.EndPoint != sessionQuery._endpointSettings.EndPoint)) { GetSDMXObject = WebServiceSelector.GetSdmxImplementation(this.DataObj.Configuration); sessionQuery._IGetSDMX = GetSDMXObject; } else { GetSDMXObject = sessionQuery._IGetSDMX; } BDO = new BaseDataObject(dataObj.Configuration, System.IO.Path.GetTempFileName()); this._useAttr = useAttr; }