Type.registerNamespace('WebPlatform.Search.Implementation');
WebPlatform.Search.Implementation.AjaxTypeAheadEntry=function() {
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.get_path();},
GetSuggestions:function(searchString,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetSuggestions',false,{searchString:searchString},succeededCallback,failedCallback,userContext); }}
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.registerClass('WebPlatform.Search.Implementation.AjaxTypeAheadEntry',Sys.Net.WebServiceProxy);
WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance = new WebPlatform.Search.Implementation.AjaxTypeAheadEntry();
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.set_path = function(value) { WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.set_path(value); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.get_path = function() { return WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.get_path(); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.set_timeout = function(value) { WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.set_timeout(value); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.get_timeout = function() { return WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.get_timeout(); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.set_defaultUserContext = function(value) { WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.set_defaultUserContext(value); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.get_defaultUserContext = function() { return WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.get_defaultUserContext(); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.set_defaultSucceededCallback = function(value) { WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.set_defaultSucceededCallback(value); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.get_defaultSucceededCallback = function() { return WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.get_defaultSucceededCallback(); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.set_defaultFailedCallback = function(value) { WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.set_defaultFailedCallback(value); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.get_defaultFailedCallback = function() { return WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.get_defaultFailedCallback(); }
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.set_path("/Components/WebPlatform.Search/Implementation/AjaxTypeAheadEntry.asmx");
WebPlatform.Search.Implementation.AjaxTypeAheadEntry.GetSuggestions= function(searchString,onSuccess,onFailed,userContext) {WebPlatform.Search.Implementation.AjaxTypeAheadEntry._staticInstance.GetSuggestions(searchString,onSuccess,onFailed,userContext); }

