Type.registerNamespace('Website');
Website.Locations=function() {
Website.Locations.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
Website.Locations.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return Website.Locations._staticInstance.get_path();},
GetCompletionList:function(prefixText,count,succeededCallback, failedCallback, userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</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},succeededCallback,failedCallback,userContext); },
GetMapLocations:function(PrefixText,succeededCallback, failedCallback, userContext) {
/// <param name="PrefixText" 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(), 'GetMapLocations',false,{PrefixText:PrefixText},succeededCallback,failedCallback,userContext); },
GetLocationMapPoints:function(ItemID,Name,IsCustom,succeededCallback, failedCallback, userContext) {
/// <param name="ItemID" type="String">System.String</param>
/// <param name="Name" type="String">System.String</param>
/// <param name="IsCustom" type="Number">System.Int32</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(), 'GetLocationMapPoints',false,{ItemID:ItemID,Name:Name,IsCustom:IsCustom},succeededCallback,failedCallback,userContext); }}
Website.Locations.registerClass('Website.Locations',Sys.Net.WebServiceProxy);
Website.Locations._staticInstance = new Website.Locations();
Website.Locations.set_path = function(value) {
Website.Locations._staticInstance.set_path(value); }
Website.Locations.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return Website.Locations._staticInstance.get_path();}
Website.Locations.set_timeout = function(value) {
Website.Locations._staticInstance.set_timeout(value); }
Website.Locations.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return Website.Locations._staticInstance.get_timeout(); }
Website.Locations.set_defaultUserContext = function(value) { 
Website.Locations._staticInstance.set_defaultUserContext(value); }
Website.Locations.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return Website.Locations._staticInstance.get_defaultUserContext(); }
Website.Locations.set_defaultSucceededCallback = function(value) { 
 Website.Locations._staticInstance.set_defaultSucceededCallback(value); }
Website.Locations.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return Website.Locations._staticInstance.get_defaultSucceededCallback(); }
Website.Locations.set_defaultFailedCallback = function(value) { 
Website.Locations._staticInstance.set_defaultFailedCallback(value); }
Website.Locations.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return Website.Locations._staticInstance.get_defaultFailedCallback(); }
Website.Locations.set_path("/WebServices/Locations.asmx");
Website.Locations.GetCompletionList= function(prefixText,count,onSuccess,onFailed,userContext) {
/// <param name="prefixText" type="String">System.String</param>
/// <param name="count" type="Number">System.Int32</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>
Website.Locations._staticInstance.GetCompletionList(prefixText,count,onSuccess,onFailed,userContext); }
Website.Locations.GetMapLocations= function(PrefixText,onSuccess,onFailed,userContext) {
/// <param name="PrefixText" 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>
Website.Locations._staticInstance.GetMapLocations(PrefixText,onSuccess,onFailed,userContext); }
Website.Locations.GetLocationMapPoints= function(ItemID,Name,IsCustom,onSuccess,onFailed,userContext) {
/// <param name="ItemID" type="String">System.String</param>
/// <param name="Name" type="String">System.String</param>
/// <param name="IsCustom" type="Number">System.Int32</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>
Website.Locations._staticInstance.GetLocationMapPoints(ItemID,Name,IsCustom,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('Evolvin.DataAccess');
if (typeof(Evolvin.DataAccess.GeoTown) === 'undefined') {
Evolvin.DataAccess.GeoTown=gtc("Evolvin.DataAccess.GeoTown");
Evolvin.DataAccess.GeoTown.registerClass('Evolvin.DataAccess.GeoTown');
}
if (typeof(Evolvin.DataAccess.MapPoints) === 'undefined') {
Evolvin.DataAccess.MapPoints=gtc("Evolvin.DataAccess.MapPoints");
Evolvin.DataAccess.MapPoints.registerClass('Evolvin.DataAccess.MapPoints');
}
