Type.registerNamespace('LumosVideoApplication');
LumosVideoApplication.LumosVideoService=function() {
LumosVideoApplication.LumosVideoService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
LumosVideoApplication.LumosVideoService.prototype={
GetVideos:function(succeededCallback, failedCallback, userContext) {
return this._invoke(LumosVideoApplication.LumosVideoService.get_path(), 'GetVideos',false,{},succeededCallback,failedCallback,userContext); }}
LumosVideoApplication.LumosVideoService.registerClass('LumosVideoApplication.LumosVideoService',Sys.Net.WebServiceProxy);
LumosVideoApplication.LumosVideoService._staticInstance = new LumosVideoApplication.LumosVideoService();
LumosVideoApplication.LumosVideoService.set_path = function(value) { 
var e = Function._validateParams(arguments, [{name: 'path', type: String}]); if (e) throw e; LumosVideoApplication.LumosVideoService._staticInstance._path = value; }
LumosVideoApplication.LumosVideoService.get_path = function() { return LumosVideoApplication.LumosVideoService._staticInstance._path; }
LumosVideoApplication.LumosVideoService.set_timeout = function(value) { var e = Function._validateParams(arguments, [{name: 'timeout', type: Number}]); if (e) throw e; if (value < 0) { throw Error.argumentOutOfRange('value', value, Sys.Res.invalidTimeout); }
LumosVideoApplication.LumosVideoService._staticInstance._timeout = value; }
LumosVideoApplication.LumosVideoService.get_timeout = function() { 
return LumosVideoApplication.LumosVideoService._staticInstance._timeout; }
LumosVideoApplication.LumosVideoService.set_defaultUserContext = function(value) { 
LumosVideoApplication.LumosVideoService._staticInstance._userContext = value; }
LumosVideoApplication.LumosVideoService.get_defaultUserContext = function() { 
return LumosVideoApplication.LumosVideoService._staticInstance._userContext; }
LumosVideoApplication.LumosVideoService.set_defaultSucceededCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultSucceededCallback', type: Function}]); if (e) throw e; LumosVideoApplication.LumosVideoService._staticInstance._succeeded = value; }
LumosVideoApplication.LumosVideoService.get_defaultSucceededCallback = function() { 
return LumosVideoApplication.LumosVideoService._staticInstance._succeeded; }
LumosVideoApplication.LumosVideoService.set_defaultFailedCallback = function(value) { 
var e = Function._validateParams(arguments, [{name: 'defaultFailedCallback', type: Function}]); if (e) throw e; LumosVideoApplication.LumosVideoService._staticInstance._failed = value; }
LumosVideoApplication.LumosVideoService.get_defaultFailedCallback = function() { 
return LumosVideoApplication.LumosVideoService._staticInstance._failed; }
LumosVideoApplication.LumosVideoService.set_path("/wrox/silverlight1_0/chapter7/LumosVideoService.asmx");
LumosVideoApplication.LumosVideoService.GetVideos= function(onSuccess,onFailed,userContext) {LumosVideoApplication.LumosVideoService._staticInstance.GetVideos(onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(LumosVideoApplication.Video) === 'undefined') {
LumosVideoApplication.Video=gtc("LumosVideoApplication.Video");
LumosVideoApplication.Video.registerClass('LumosVideoApplication.Video');
}
