//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30128.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
//
// This code was auto-generated by Microsoft.Silverlight.ServiceReference, version 4.0.50303.0
//
namespace MVMFileManager.FileManager {
using System.Runtime.Serialization;
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="SilverlightFolder", Namespace="http://OpenLightGroup.net/")]
public partial class SilverlightFolder : object, System.ComponentModel.INotifyPropertyChanged {
private MVMFileManager.FileManager.SilverlightFolder[] SubFoldersField;
private string FolderNameField;
private string FullPathField;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
public MVMFileManager.FileManager.SilverlightFolder[] SubFolders {
get {
return this.SubFoldersField;
}
set {
if ((object.ReferenceEquals(this.SubFoldersField, value) != true)) {
this.SubFoldersField = value;
this.RaisePropertyChanged("SubFolders");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
public string FolderName {
get {
return this.FolderNameField;
}
set {
if ((object.ReferenceEquals(this.FolderNameField, value) != true)) {
this.FolderNameField = value;
this.RaisePropertyChanged("FolderName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
public string FullPath {
get {
return this.FullPathField;
}
set {
if ((object.ReferenceEquals(this.FullPathField, value) != true)) {
this.FullPathField = value;
this.RaisePropertyChanged("FullPath");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="SilverlightFile", Namespace="http://OpenLightGroup.net/")]
public partial class SilverlightFile : object, System.ComponentModel.INotifyPropertyChanged {
private string FileNameField;
private string FilePathField;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
public string FileName {
get {
return this.FileNameField;
}
set {
if ((object.ReferenceEquals(this.FileNameField, value) != true)) {
this.FileNameField = value;
this.RaisePropertyChanged("FileName");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
public string FilePath {
get {
return this.FilePathField;
}
set {
if ((object.ReferenceEquals(this.FilePathField, value) != true)) {
this.FilePathField = value;
this.RaisePropertyChanged("FilePath");
}
}
}
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
protected void RaisePropertyChanged(string propertyName) {
System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
if ((propertyChanged != null)) {
propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
}
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ServiceModel.ServiceContractAttribute(Namespace="http://OpenLightGroup.net/", ConfigurationName="FileManager.WebServiceSoap")]
public interface WebServiceSoap {
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://OpenLightGroup.net/GetLocalFolders", ReplyAction="*")]
System.IAsyncResult BeginGetLocalFolders(MVMFileManager.FileManager.GetLocalFoldersRequest request, System.AsyncCallback callback, object asyncState);
MVMFileManager.FileManager.GetLocalFoldersResponse EndGetLocalFolders(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://OpenLightGroup.net/GetLocalFiles", ReplyAction="*")]
System.IAsyncResult BeginGetLocalFiles(MVMFileManager.FileManager.GetLocalFilesRequest request, System.AsyncCallback callback, object asyncState);
MVMFileManager.FileManager.GetLocalFilesResponse EndGetLocalFiles(System.IAsyncResult result);
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class GetLocalFoldersRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetLocalFolders", Namespace="http://OpenLightGroup.net/", Order=0)]
public MVMFileManager.FileManager.GetLocalFoldersRequestBody Body;
public GetLocalFoldersRequest() {
}
public GetLocalFoldersRequest(MVMFileManager.FileManager.GetLocalFoldersRequestBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Runtime.Serialization.DataContractAttribute()]
public partial class GetLocalFoldersRequestBody {
public GetLocalFoldersRequestBody() {
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class GetLocalFoldersResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetLocalFoldersResponse", Namespace="http://OpenLightGroup.net/", Order=0)]
public MVMFileManager.FileManager.GetLocalFoldersResponseBody Body;
public GetLocalFoldersResponse() {
}
public GetLocalFoldersResponse(MVMFileManager.FileManager.GetLocalFoldersResponseBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://OpenLightGroup.net/")]
public partial class GetLocalFoldersResponseBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public MVMFileManager.FileManager.SilverlightFolder[] GetLocalFoldersResult;
public GetLocalFoldersResponseBody() {
}
public GetLocalFoldersResponseBody(MVMFileManager.FileManager.SilverlightFolder[] GetLocalFoldersResult) {
this.GetLocalFoldersResult = GetLocalFoldersResult;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class GetLocalFilesRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetLocalFiles", Namespace="http://OpenLightGroup.net/", Order=0)]
public MVMFileManager.FileManager.GetLocalFilesRequestBody Body;
public GetLocalFilesRequest() {
}
public GetLocalFilesRequest(MVMFileManager.FileManager.GetLocalFilesRequestBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://OpenLightGroup.net/")]
public partial class GetLocalFilesRequestBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string FolderPath;
public GetLocalFilesRequestBody() {
}
public GetLocalFilesRequestBody(string FolderPath) {
this.FolderPath = FolderPath;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
public partial class GetLocalFilesResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetLocalFilesResponse", Namespace="http://OpenLightGroup.net/", Order=0)]
public MVMFileManager.FileManager.GetLocalFilesResponseBody Body;
public GetLocalFilesResponse() {
}
public GetLocalFilesResponse(MVMFileManager.FileManager.GetLocalFilesResponseBody Body) {
this.Body = Body;
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
[System.Runtime.Serialization.DataContractAttribute(Namespace="http://OpenLightGroup.net/")]
public partial class GetLocalFilesResponseBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public MVMFileManager.FileManager.SilverlightFile[] GetLocalFilesResult;
public GetLocalFilesResponseBody() {
}
public GetLocalFilesResponseBody(MVMFileManager.FileManager.SilverlightFile[] GetLocalFilesResult) {
this.GetLocalFilesResult = GetLocalFilesResult;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface WebServiceSoapChannel : MVMFileManager.FileManager.WebServiceSoap, System.ServiceModel.IClientChannel {
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetLocalFoldersCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetLocalFoldersCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public MVMFileManager.FileManager.SilverlightFolder[] Result {
get {
base.RaiseExceptionIfNecessary();
return ((MVMFileManager.FileManager.SilverlightFolder[])(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetLocalFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetLocalFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public MVMFileManager.FileManager.SilverlightFile[] Result {
get {
base.RaiseExceptionIfNecessary();
return ((MVMFileManager.FileManager.SilverlightFile[])(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class WebServiceSoapClient : System.ServiceModel.ClientBase<MVMFileManager.FileManager.WebServiceSoap>, MVMFileManager.FileManager.WebServiceSoap {
private BeginOperationDelegate onBeginGetLocalFoldersDelegate;
private EndOperationDelegate onEndGetLocalFoldersDelegate;
private System.Threading.SendOrPostCallback onGetLocalFoldersCompletedDelegate;
private BeginOperationDelegate onBeginGetLocalFilesDelegate;
private EndOperationDelegate onEndGetLocalFilesDelegate;
private System.Threading.SendOrPostCallback onGetLocalFilesCompletedDelegate;
private BeginOperationDelegate onBeginOpenDelegate;
private EndOperationDelegate onEndOpenDelegate;
private System.Threading.SendOrPostCallback onOpenCompletedDelegate;
private BeginOperationDelegate onBeginCloseDelegate;
private EndOperationDelegate onEndCloseDelegate;
private System.Threading.SendOrPostCallback onCloseCompletedDelegate;
public WebServiceSoapClient() {
}
public WebServiceSoapClient(string endpointConfigurationName) :
base(endpointConfigurationName) {
}
public WebServiceSoapClient(string endpointConfigurationName, string remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public WebServiceSoapClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
base(endpointConfigurationName, remoteAddress) {
}
public WebServiceSoapClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
base(binding, remoteAddress) {
}
public System.Net.CookieContainer CookieContainer {
get {
System.ServiceModel.Channels.IHttpCookieContainerManager httpCookieContainerManager = this.InnerChannel.GetProperty<System.ServiceModel.Channels.IHttpCookieContainerManager>();
if ((httpCookieContainerManager != null)) {
return httpCookieContainerManager.CookieContainer;
}
else {
return null;
}
}
set {
System.ServiceModel.Channels.IHttpCookieContainerManager httpCookieContainerManager = this.InnerChannel.GetProperty<System.ServiceModel.Channels.IHttpCookieContainerManager>();
if ((httpCookieContainerManager != null)) {
httpCookieContainerManager.CookieContainer = value;
}
else {
throw new System.InvalidOperationException("Unable to set the CookieContainer. Please make sure the binding contains an HttpC" +
"ookieContainerBindingElement.");
}
}
}
public event System.EventHandler<GetLocalFoldersCompletedEventArgs> GetLocalFoldersCompleted;
public event System.EventHandler<GetLocalFilesCompletedEventArgs> GetLocalFilesCompleted;
public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> OpenCompleted;
public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> CloseCompleted;
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.IAsyncResult MVMFileManager.FileManager.WebServiceSoap.BeginGetLocalFolders(MVMFileManager.FileManager.GetLocalFoldersRequest request, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetLocalFolders(request, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private System.IAsyncResult BeginGetLocalFolders(System.AsyncCallback callback, object asyncState) {
MVMFileManager.FileManager.GetLocalFoldersRequest inValue = new MVMFileManager.FileManager.GetLocalFoldersRequest();
inValue.Body = new MVMFileManager.FileManager.GetLocalFoldersRequestBody();
return ((MVMFileManager.FileManager.WebServiceSoap)(this)).BeginGetLocalFolders(inValue, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
MVMFileManager.FileManager.GetLocalFoldersResponse MVMFileManager.FileManager.WebServiceSoap.EndGetLocalFolders(System.IAsyncResult result) {
return base.Channel.EndGetLocalFolders(result);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private MVMFileManager.FileManager.SilverlightFolder[] EndGetLocalFolders(System.IAsyncResult result) {
MVMFileManager.FileManager.GetLocalFoldersResponse retVal = ((MVMFileManager.FileManager.WebServiceSoap)(this)).EndGetLocalFolders(result);
return retVal.Body.GetLocalFoldersResult;
}
private System.IAsyncResult OnBeginGetLocalFolders(object[] inValues, System.AsyncCallback callback, object asyncState) {
return this.BeginGetLocalFolders(callback, asyncState);
}
private object[] OnEndGetLocalFolders(System.IAsyncResult result) {
MVMFileManager.FileManager.SilverlightFolder[] retVal = this.EndGetLocalFolders(result);
return new object[] {
retVal};
}
private void OnGetLocalFoldersCompleted(object state) {
if ((this.GetLocalFoldersCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetLocalFoldersCompleted(this, new GetLocalFoldersCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetLocalFoldersAsync() {
this.GetLocalFoldersAsync(null);
}
public void GetLocalFoldersAsync(object userState) {
if ((this.onBeginGetLocalFoldersDelegate == null)) {
this.onBeginGetLocalFoldersDelegate = new BeginOperationDelegate(this.OnBeginGetLocalFolders);
}
if ((this.onEndGetLocalFoldersDelegate == null)) {
this.onEndGetLocalFoldersDelegate = new EndOperationDelegate(this.OnEndGetLocalFolders);
}
if ((this.onGetLocalFoldersCompletedDelegate == null)) {
this.onGetLocalFoldersCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLocalFoldersCompleted);
}
base.InvokeAsync(this.onBeginGetLocalFoldersDelegate, null, this.onEndGetLocalFoldersDelegate, this.onGetLocalFoldersCompletedDelegate, userState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.IAsyncResult MVMFileManager.FileManager.WebServiceSoap.BeginGetLocalFiles(MVMFileManager.FileManager.GetLocalFilesRequest request, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetLocalFiles(request, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private System.IAsyncResult BeginGetLocalFiles(string FolderPath, System.AsyncCallback callback, object asyncState) {
MVMFileManager.FileManager.GetLocalFilesRequest inValue = new MVMFileManager.FileManager.GetLocalFilesRequest();
inValue.Body = new MVMFileManager.FileManager.GetLocalFilesRequestBody();
inValue.Body.FolderPath = FolderPath;
return ((MVMFileManager.FileManager.WebServiceSoap)(this)).BeginGetLocalFiles(inValue, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
MVMFileManager.FileManager.GetLocalFilesResponse MVMFileManager.FileManager.WebServiceSoap.EndGetLocalFiles(System.IAsyncResult result) {
return base.Channel.EndGetLocalFiles(result);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private MVMFileManager.FileManager.SilverlightFile[] EndGetLocalFiles(System.IAsyncResult result) {
MVMFileManager.FileManager.GetLocalFilesResponse retVal = ((MVMFileManager.FileManager.WebServiceSoap)(this)).EndGetLocalFiles(result);
return retVal.Body.GetLocalFilesResult;
}
private System.IAsyncResult OnBeginGetLocalFiles(object[] inValues, System.AsyncCallback callback, object asyncState) {
string FolderPath = ((string)(inValues[0]));
return this.BeginGetLocalFiles(FolderPath, callback, asyncState);
}
private object[] OnEndGetLocalFiles(System.IAsyncResult result) {
MVMFileManager.FileManager.SilverlightFile[] retVal = this.EndGetLocalFiles(result);
return new object[] {
retVal};
}
private void OnGetLocalFilesCompleted(object state) {
if ((this.GetLocalFilesCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetLocalFilesCompleted(this, new GetLocalFilesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetLocalFilesAsync(string FolderPath) {
this.GetLocalFilesAsync(FolderPath, null);
}
public void GetLocalFilesAsync(string FolderPath, object userState) {
if ((this.onBeginGetLocalFilesDelegate == null)) {
this.onBeginGetLocalFilesDelegate = new BeginOperationDelegate(this.OnBeginGetLocalFiles);
}
if ((this.onEndGetLocalFilesDelegate == null)) {
this.onEndGetLocalFilesDelegate = new EndOperationDelegate(this.OnEndGetLocalFiles);
}
if ((this.onGetLocalFilesCompletedDelegate == null)) {
this.onGetLocalFilesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetLocalFilesCompleted);
}
base.InvokeAsync(this.onBeginGetLocalFilesDelegate, new object[] {
FolderPath}, this.onEndGetLocalFilesDelegate, this.onGetLocalFilesCompletedDelegate, userState);
}
private System.IAsyncResult OnBeginOpen(object[] inValues, System.AsyncCallback callback, object asyncState) {
return ((System.ServiceModel.ICommunicationObject)(this)).BeginOpen(callback, asyncState);
}
private object[] OnEndOpen(System.IAsyncResult result) {
((System.ServiceModel.ICommunicationObject)(this)).EndOpen(result);
return null;
}
private void OnOpenCompleted(object state) {
if ((this.OpenCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.OpenCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
}
}
public void OpenAsync() {
this.OpenAsync(null);
}
public void OpenAsync(object userState) {
if ((this.onBeginOpenDelegate == null)) {
this.onBeginOpenDelegate = new BeginOperationDelegate(this.OnBeginOpen);
}
if ((this.onEndOpenDelegate == null)) {
this.onEndOpenDelegate = new EndOperationDelegate(this.OnEndOpen);
}
if ((this.onOpenCompletedDelegate == null)) {
this.onOpenCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnOpenCompleted);
}
base.InvokeAsync(this.onBeginOpenDelegate, null, this.onEndOpenDelegate, this.onOpenCompletedDelegate, userState);
}
private System.IAsyncResult OnBeginClose(object[] inValues, System.AsyncCallback callback, object asyncState) {
return ((System.ServiceModel.ICommunicationObject)(this)).BeginClose(callback, asyncState);
}
private object[] OnEndClose(System.IAsyncResult result) {
((System.ServiceModel.ICommunicationObject)(this)).EndClose(result);
return null;
}
private void OnCloseCompleted(object state) {
if ((this.CloseCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.CloseCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
}
}
public void CloseAsync() {
this.CloseAsync(null);
}
public void CloseAsync(object userState) {
if ((this.onBeginCloseDelegate == null)) {
this.onBeginCloseDelegate = new BeginOperationDelegate(this.OnBeginClose);
}
if ((this.onEndCloseDelegate == null)) {
this.onEndCloseDelegate = new EndOperationDelegate(this.OnEndClose);
}
if ((this.onCloseCompletedDelegate == null)) {
this.onCloseCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCloseCompleted);
}
base.InvokeAsync(this.onBeginCloseDelegate, null, this.onEndCloseDelegate, this.onCloseCompletedDelegate, userState);
}
protected override MVMFileManager.FileManager.WebServiceSoap CreateChannel() {
return new WebServiceSoapClientChannel(this);
}
private class WebServiceSoapClientChannel : ChannelBase<MVMFileManager.FileManager.WebServiceSoap>, MVMFileManager.FileManager.WebServiceSoap {
public WebServiceSoapClientChannel(System.ServiceModel.ClientBase<MVMFileManager.FileManager.WebServiceSoap> client) :
base(client) {
}
public System.IAsyncResult BeginGetLocalFolders(MVMFileManager.FileManager.GetLocalFoldersRequest request, System.AsyncCallback callback, object asyncState) {
object[] _args = new object[1];
_args[0] = request;
System.IAsyncResult _result = base.BeginInvoke("GetLocalFolders", _args, callback, asyncState);
return _result;
}
public MVMFileManager.FileManager.GetLocalFoldersResponse EndGetLocalFolders(System.IAsyncResult result) {
object[] _args = new object[0];
MVMFileManager.FileManager.GetLocalFoldersResponse _result = ((MVMFileManager.FileManager.GetLocalFoldersResponse)(base.EndInvoke("GetLocalFolders", _args, result)));
return _result;
}
public System.IAsyncResult BeginGetLocalFiles(MVMFileManager.FileManager.GetLocalFilesRequest request, System.AsyncCallback callback, object asyncState) {
object[] _args = new object[1];
_args[0] = request;
System.IAsyncResult _result = base.BeginInvoke("GetLocalFiles", _args, callback, asyncState);
return _result;
}
public MVMFileManager.FileManager.GetLocalFilesResponse EndGetLocalFiles(System.IAsyncResult result) {
object[] _args = new object[0];
MVMFileManager.FileManager.GetLocalFilesResponse _result = ((MVMFileManager.FileManager.GetLocalFilesResponse)(base.EndInvoke("GetLocalFiles", _args, result)));
return _result;
}
}
}
}