Ejemplo n.º 1
0
 /// <summary>
 /// Get information about data source.
 /// </summary>
 /// <returns>Information about data source.</returns>
 public override IDataSourceInformation GetDataSourceInformation()
 {
     if (_dataSourceInformation.IsNull())
     {
         _dataSourceInformation = new DataSourceInformation(WebServiceProxy.AnalysisService.GetWebServiceName(),
                                                            WebServiceProxy.AnalysisService.GetEndpointAddress().ToString(),
                                                            DataSourceType.WebService);
     }
     return(_dataSourceInformation);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Get information about data source.
 /// </summary>
 /// <returns>Information about data source.</returns>
 public override IDataSourceInformation GetDataSourceInformation()
 {
     if (_dataSourceInformation.IsNull())
     {
         _dataSourceInformation = new DataSourceInformation(
             WebServiceProxy.TaxonService.GetWebServiceName(),
             WebServiceProxy.TaxonService.GetEndpointAddress().ToString(),
             DataSourceType.WebService);
         //_dataSourceInformation = new DataSourceInformation(WebServiceProxy.DyntaxaInternalService.GetWebServiceName(),
         //                                                   WebServiceProxy.DyntaxaInternalService.GetEndpointAddress().ToString(),
         //                                                   DataSourceType.WebService);
     }
     return(_dataSourceInformation);
 }