/// <summary> /// Initializes the web service proxies. These are dynamically generated and so /// this method only generates them one time to improve memory and performance. /// </summary> public void InitWebService() { if (_reportingService != null) return; _reportingService = new ReportingService { Url = (GameConfig.WebRoot + "/reporting/reportpopulation.asmx"), Timeout = 60000 }; }
/// <summary> /// Initializes the web service proxies. These are dynamically generated and so /// this method only generates them one time to improve memory and performance. /// </summary> public void InitWebService() { if (this.reportingService == null) { this.reportingService = new ReportingService(); reportingService.Url = GameConfig.WebRoot + "/reporting/reportpopulation.asmx"; reportingService.Timeout = 60000; } }