Type.registerNamespace('WebDownUnder');
WebDownUnder.Slideshow=function() {
WebDownUnder.Slideshow.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
WebDownUnder.Slideshow.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return WebDownUnder.Slideshow._staticInstance.get_path();},
GetImages:function(ImagePath,ImageCount,succeededCallback, failedCallback, userContext) {
/// <param name="ImagePath" type="String">System.String</param>
/// <param name="ImageCount" 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(), 'GetImages',false,{ImagePath:ImagePath,ImageCount:ImageCount},succeededCallback,failedCallback,userContext); },
NumberOfImages:function(ImagePath,succeededCallback, failedCallback, userContext) {
/// <param name="ImagePath" 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(), 'NumberOfImages',false,{ImagePath:ImagePath},succeededCallback,failedCallback,userContext); }}
WebDownUnder.Slideshow.registerClass('WebDownUnder.Slideshow',Sys.Net.WebServiceProxy);
WebDownUnder.Slideshow._staticInstance = new WebDownUnder.Slideshow();
WebDownUnder.Slideshow.set_path = function(value) {
WebDownUnder.Slideshow._staticInstance.set_path(value); }
WebDownUnder.Slideshow.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return WebDownUnder.Slideshow._staticInstance.get_path();}
WebDownUnder.Slideshow.set_timeout = function(value) {
WebDownUnder.Slideshow._staticInstance.set_timeout(value); }
WebDownUnder.Slideshow.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return WebDownUnder.Slideshow._staticInstance.get_timeout(); }
WebDownUnder.Slideshow.set_defaultUserContext = function(value) { 
WebDownUnder.Slideshow._staticInstance.set_defaultUserContext(value); }
WebDownUnder.Slideshow.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return WebDownUnder.Slideshow._staticInstance.get_defaultUserContext(); }
WebDownUnder.Slideshow.set_defaultSucceededCallback = function(value) { 
 WebDownUnder.Slideshow._staticInstance.set_defaultSucceededCallback(value); }
WebDownUnder.Slideshow.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return WebDownUnder.Slideshow._staticInstance.get_defaultSucceededCallback(); }
WebDownUnder.Slideshow.set_defaultFailedCallback = function(value) { 
WebDownUnder.Slideshow._staticInstance.set_defaultFailedCallback(value); }
WebDownUnder.Slideshow.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return WebDownUnder.Slideshow._staticInstance.get_defaultFailedCallback(); }
WebDownUnder.Slideshow.set_path("/wdu_slideshow.asmx");
WebDownUnder.Slideshow.GetImages= function(ImagePath,ImageCount,onSuccess,onFailed,userContext) {
/// <param name="ImagePath" type="String">System.String</param>
/// <param name="ImageCount" 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>
WebDownUnder.Slideshow._staticInstance.GetImages(ImagePath,ImageCount,onSuccess,onFailed,userContext); }
WebDownUnder.Slideshow.NumberOfImages= function(ImagePath,onSuccess,onFailed,userContext) {
/// <param name="ImagePath" 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>
WebDownUnder.Slideshow._staticInstance.NumberOfImages(ImagePath,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(WebDownUnder.SlideshowImageClass) === 'undefined') {
WebDownUnder.SlideshowImageClass=gtc("WebDownUnder.SlideshowImageClass");
WebDownUnder.SlideshowImageClass.registerClass('WebDownUnder.SlideshowImageClass');
}

