var AutoCompleteIngredientList=function() {
AutoCompleteIngredientList.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
AutoCompleteIngredientList.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return AutoCompleteIngredientList._staticInstance.get_path();},
GetCompletionList:function(prefixText,count,contextKey,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="contextKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetCompletionList',false,{prefixText:prefixText,count:count,contextKey:contextKey},succeededCallback,failedCallback,userContext); }}
AutoCompleteIngredientList.registerClass('AutoCompleteIngredientList',Sys.Net.WebServiceProxy);
AutoCompleteIngredientList._staticInstance = new AutoCompleteIngredientList();
AutoCompleteIngredientList.set_path = function(value) {
AutoCompleteIngredientList._staticInstance.set_path(value); }
AutoCompleteIngredientList.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return AutoCompleteIngredientList._staticInstance.get_path();}
AutoCompleteIngredientList.set_timeout = function(value) {
AutoCompleteIngredientList._staticInstance.set_timeout(value); }
AutoCompleteIngredientList.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return AutoCompleteIngredientList._staticInstance.get_timeout(); }
AutoCompleteIngredientList.set_defaultUserContext = function(value) { 
AutoCompleteIngredientList._staticInstance.set_defaultUserContext(value); }
AutoCompleteIngredientList.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return AutoCompleteIngredientList._staticInstance.get_defaultUserContext(); }
AutoCompleteIngredientList.set_defaultSucceededCallback = function(value) { 
 AutoCompleteIngredientList._staticInstance.set_defaultSucceededCallback(value); }
AutoCompleteIngredientList.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return AutoCompleteIngredientList._staticInstance.get_defaultSucceededCallback(); }
AutoCompleteIngredientList.set_defaultFailedCallback = function(value) { 
AutoCompleteIngredientList._staticInstance.set_defaultFailedCallback(value); }
AutoCompleteIngredientList.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return AutoCompleteIngredientList._staticInstance.get_defaultFailedCallback(); }
AutoCompleteIngredientList.set_path("/WebServices/AutoCompleteIngredientList.asmx");
AutoCompleteIngredientList.GetCompletionList= function(prefixText,count,contextKey,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</param>
/// <param name="contextKey" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
AutoCompleteIngredientList._staticInstance.GetCompletionList(prefixText,count,contextKey,onSuccess,onFailed,userContext); }
