var LiveEventDataService=function() { LiveEventDataService.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } LiveEventDataService.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return LiveEventDataService._staticInstance.get_path();}, GetEvents:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'GetEvents',false,{},succeededCallback,failedCallback,userContext); }, GetEvent:function(EventID,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'GetEvent',false,{EventID:EventID},succeededCallback,failedCallback,userContext); }, GetEventsByRegion:function(Region,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'GetEventsByRegion',false,{Region:Region},succeededCallback,failedCallback,userContext); }, GetEventsByDistrict:function(District,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'GetEventsByDistrict',false,{District:District},succeededCallback,failedCallback,userContext); }, GetEventsByKeyword:function(Keywords,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'GetEventsByKeyword',false,{Keywords:Keywords},succeededCallback,failedCallback,userContext); }, GetEventDescription:function(EventID,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'GetEventDescription',false,{EventID:EventID},succeededCallback,failedCallback,userContext); }, GetEventsListItems:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'GetEventsListItems',false,{},succeededCallback,failedCallback,userContext); }, GetLiveEventTypes:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'GetLiveEventTypes',false,{},succeededCallback,failedCallback,userContext); }, GetLiveEventStatesAndCities:function(succeededCallback, failedCallback, userContext) { /// /// /// return this._invoke(this._get_path(), 'GetLiveEventStatesAndCities',false,{},succeededCallback,failedCallback,userContext); }, GetLiveEventsByStateAndCity:function(State,City,succeededCallback, failedCallback, userContext) { /// System.String /// System.String /// /// /// return this._invoke(this._get_path(), 'GetLiveEventsByStateAndCity',false,{State:State,City:City},succeededCallback,failedCallback,userContext); }, GetEventsByTypeID:function(EventTypeID,succeededCallback, failedCallback, userContext) { /// System.Int32 /// /// /// return this._invoke(this._get_path(), 'GetEventsByTypeID',false,{EventTypeID:EventTypeID},succeededCallback,failedCallback,userContext); }, GetEventsByColor:function(Color,succeededCallback, failedCallback, userContext) { /// System.String /// /// /// return this._invoke(this._get_path(), 'GetEventsByColor',false,{Color:Color},succeededCallback,failedCallback,userContext); }} LiveEventDataService.registerClass('LiveEventDataService',Sys.Net.WebServiceProxy); LiveEventDataService._staticInstance = new LiveEventDataService(); LiveEventDataService.set_path = function(value) { LiveEventDataService._staticInstance.set_path(value); } LiveEventDataService.get_path = function() { /// The service url. return LiveEventDataService._staticInstance.get_path();} LiveEventDataService.set_timeout = function(value) { LiveEventDataService._staticInstance.set_timeout(value); } LiveEventDataService.get_timeout = function() { /// The service timeout. return LiveEventDataService._staticInstance.get_timeout(); } LiveEventDataService.set_defaultUserContext = function(value) { LiveEventDataService._staticInstance.set_defaultUserContext(value); } LiveEventDataService.get_defaultUserContext = function() { /// The service default user context. return LiveEventDataService._staticInstance.get_defaultUserContext(); } LiveEventDataService.set_defaultSucceededCallback = function(value) { LiveEventDataService._staticInstance.set_defaultSucceededCallback(value); } LiveEventDataService.get_defaultSucceededCallback = function() { /// The service default succeeded callback. return LiveEventDataService._staticInstance.get_defaultSucceededCallback(); } LiveEventDataService.set_defaultFailedCallback = function(value) { LiveEventDataService._staticInstance.set_defaultFailedCallback(value); } LiveEventDataService.get_defaultFailedCallback = function() { /// The service default failed callback. return LiveEventDataService._staticInstance.get_defaultFailedCallback(); } LiveEventDataService.set_path("/svc/LiveEventDataService.asmx"); LiveEventDataService.GetEvents= function(onSuccess,onFailed,userContext) { /// /// /// LiveEventDataService._staticInstance.GetEvents(onSuccess,onFailed,userContext); } LiveEventDataService.GetEvent= function(EventID,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// LiveEventDataService._staticInstance.GetEvent(EventID,onSuccess,onFailed,userContext); } LiveEventDataService.GetEventsByRegion= function(Region,onSuccess,onFailed,userContext) { /// System.String /// /// /// LiveEventDataService._staticInstance.GetEventsByRegion(Region,onSuccess,onFailed,userContext); } LiveEventDataService.GetEventsByDistrict= function(District,onSuccess,onFailed,userContext) { /// System.String /// /// /// LiveEventDataService._staticInstance.GetEventsByDistrict(District,onSuccess,onFailed,userContext); } LiveEventDataService.GetEventsByKeyword= function(Keywords,onSuccess,onFailed,userContext) { /// System.String /// /// /// LiveEventDataService._staticInstance.GetEventsByKeyword(Keywords,onSuccess,onFailed,userContext); } LiveEventDataService.GetEventDescription= function(EventID,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// LiveEventDataService._staticInstance.GetEventDescription(EventID,onSuccess,onFailed,userContext); } LiveEventDataService.GetEventsListItems= function(onSuccess,onFailed,userContext) { /// /// /// LiveEventDataService._staticInstance.GetEventsListItems(onSuccess,onFailed,userContext); } LiveEventDataService.GetLiveEventTypes= function(onSuccess,onFailed,userContext) { /// /// /// LiveEventDataService._staticInstance.GetLiveEventTypes(onSuccess,onFailed,userContext); } LiveEventDataService.GetLiveEventStatesAndCities= function(onSuccess,onFailed,userContext) { /// /// /// LiveEventDataService._staticInstance.GetLiveEventStatesAndCities(onSuccess,onFailed,userContext); } LiveEventDataService.GetLiveEventsByStateAndCity= function(State,City,onSuccess,onFailed,userContext) { /// System.String /// System.String /// /// /// LiveEventDataService._staticInstance.GetLiveEventsByStateAndCity(State,City,onSuccess,onFailed,userContext); } LiveEventDataService.GetEventsByTypeID= function(EventTypeID,onSuccess,onFailed,userContext) { /// System.Int32 /// /// /// LiveEventDataService._staticInstance.GetEventsByTypeID(EventTypeID,onSuccess,onFailed,userContext); } LiveEventDataService.GetEventsByColor= function(Color,onSuccess,onFailed,userContext) { /// System.String /// /// /// LiveEventDataService._staticInstance.GetEventsByColor(Color,onSuccess,onFailed,userContext); } var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor; if (typeof(LiveTNEvent) === 'undefined') { var LiveTNEvent=gtc("LiveTNEvent"); LiveTNEvent.registerClass('LiveTNEvent'); } if (typeof(LiveTNEventListItem) === 'undefined') { var LiveTNEventListItem=gtc("LiveTNEventListItem"); LiveTNEventListItem.registerClass('LiveTNEventListItem'); } if (typeof(LiveTNEventTypeListItem) === 'undefined') { var LiveTNEventTypeListItem=gtc("LiveTNEventTypeListItem"); LiveTNEventTypeListItem.registerClass('LiveTNEventTypeListItem'); }