Type.registerNamespace('Geogen3.SqlClient');
Geogen3.SqlClient.GeoNameStats=function() {
Geogen3.SqlClient.GeoNameStats.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Geogen3.SqlClient.GeoNameStats.prototype={
Gethonetic:function(refText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(Geogen3.SqlClient.GeoNameStats.get_path(), 'Gethonetic',false,{refText:refText,count:count},succeededCallback,failedCallback,userContext); },
GetNames:function(prefixText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(Geogen3.SqlClient.GeoNameStats.get_path(), 'GetNames',false,{prefixText:prefixText,count:count},succeededCallback,failedCallback,userContext); },
GetPhoneticStats:function(refText,count,succeededCallback, failedCallback, userContext) {
return this._invoke(Geogen3.SqlClient.GeoNameStats.get_path(), 'GetPhoneticStats',false,{refText:refText,count:count},succeededCallback,failedCallback,userContext); },
GetStats:function(refText,mode,succeededCallback, failedCallback, userContext) {
return this._invoke(Geogen3.SqlClient.GeoNameStats.get_path(), 'GetStats',false,{refText:refText,mode:mode},succeededCallback,failedCallback,userContext); }}
Geogen3.SqlClient.GeoNameStats.registerClass('Geogen3.SqlClient.GeoNameStats',Sys.Net.WebServiceProxy);
Geogen3.SqlClient.GeoNameStats._staticInstance = new Geogen3.SqlClient.GeoNameStats();
Geogen3.SqlClient.GeoNameStats.set_path = function(value) { Geogen3.SqlClient.GeoNameStats._staticInstance._path = value; }
Geogen3.SqlClient.GeoNameStats.get_path = function() { return Geogen3.SqlClient.GeoNameStats._staticInstance._path; }
Geogen3.SqlClient.GeoNameStats.set_timeout = function(value) { Geogen3.SqlClient.GeoNameStats._staticInstance._timeout = value; }
Geogen3.SqlClient.GeoNameStats.get_timeout = function() { return Geogen3.SqlClient.GeoNameStats._staticInstance._timeout; }
Geogen3.SqlClient.GeoNameStats.set_defaultUserContext = function(value) { Geogen3.SqlClient.GeoNameStats._staticInstance._userContext = value; }
Geogen3.SqlClient.GeoNameStats.get_defaultUserContext = function() { return Geogen3.SqlClient.GeoNameStats._staticInstance._userContext; }
Geogen3.SqlClient.GeoNameStats.set_defaultSucceededCallback = function(value) { Geogen3.SqlClient.GeoNameStats._staticInstance._succeeded = value; }
Geogen3.SqlClient.GeoNameStats.get_defaultSucceededCallback = function() { return Geogen3.SqlClient.GeoNameStats._staticInstance._succeeded; }
Geogen3.SqlClient.GeoNameStats.set_defaultFailedCallback = function(value) { Geogen3.SqlClient.GeoNameStats._staticInstance._failed = value; }
Geogen3.SqlClient.GeoNameStats.get_defaultFailedCallback = function() { return Geogen3.SqlClient.GeoNameStats._staticInstance._failed; }
Geogen3.SqlClient.GeoNameStats.set_path("/services/GeoNameStats.asmx");
Geogen3.SqlClient.GeoNameStats.Gethonetic= function(refText,count,onSuccess,onFailed,userContext) {Geogen3.SqlClient.GeoNameStats._staticInstance.Gethonetic(refText,count,onSuccess,onFailed,userContext); }
Geogen3.SqlClient.GeoNameStats.GetNames= function(prefixText,count,onSuccess,onFailed,userContext) {Geogen3.SqlClient.GeoNameStats._staticInstance.GetNames(prefixText,count,onSuccess,onFailed,userContext); }
Geogen3.SqlClient.GeoNameStats.GetPhoneticStats= function(refText,count,onSuccess,onFailed,userContext) {Geogen3.SqlClient.GeoNameStats._staticInstance.GetPhoneticStats(refText,count,onSuccess,onFailed,userContext); }
Geogen3.SqlClient.GeoNameStats.GetStats= function(refText,mode,onSuccess,onFailed,userContext) {Geogen3.SqlClient.GeoNameStats._staticInstance.GetStats(refText,mode,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(Geogen3.SqlClient.GeoNameOccurance) === 'undefined') {
Geogen3.SqlClient.GeoNameOccurance=gtc("Geogen3.SqlClient.GeoNameOccurance");
Geogen3.SqlClient.GeoNameOccurance.registerClass('Geogen3.SqlClient.GeoNameOccurance');
}
