//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.17379
//
// 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.60310.0
//
namespace PitchContour.FileManager {
using System.Runtime.Serialization;
[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.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
[System.Runtime.Serialization.DataContractAttribute(Name="AudioAnalysisResult", Namespace="http://OpenLightGroup.net/")]
public partial class AudioAnalysisResult : object, System.ComponentModel.INotifyPropertyChanged {
private PitchContour.FileManager.ArrayOfInt PitchValuesField;
private PitchContour.FileManager.ArrayOfInt WaveValuesField;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
public PitchContour.FileManager.ArrayOfInt PitchValues {
get {
return this.PitchValuesField;
}
set {
if ((object.ReferenceEquals(this.PitchValuesField, value) != true)) {
this.PitchValuesField = value;
this.RaisePropertyChanged("PitchValues");
}
}
}
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false)]
public PitchContour.FileManager.ArrayOfInt WaveValues {
get {
return this.WaveValuesField;
}
set {
if ((object.ReferenceEquals(this.WaveValuesField, value) != true)) {
this.WaveValuesField = value;
this.RaisePropertyChanged("WaveValues");
}
}
}
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.CollectionDataContractAttribute(Name="ArrayOfInt", Namespace="http://OpenLightGroup.net/", ItemName="int")]
public class ArrayOfInt : System.Collections.ObjectModel.ObservableCollection<int> {
}
[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/GetLocalFiles", ReplyAction="*")]
System.IAsyncResult BeginGetLocalFiles(PitchContour.FileManager.GetLocalFilesRequest request, System.AsyncCallback callback, object asyncState);
PitchContour.FileManager.GetLocalFilesResponse EndGetLocalFiles(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://OpenLightGroup.net/UploadFiles", ReplyAction="*")]
System.IAsyncResult BeginUploadFiles(PitchContour.FileManager.UploadFilesRequest request, System.AsyncCallback callback, object asyncState);
PitchContour.FileManager.UploadFilesResponse EndUploadFiles(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://OpenLightGroup.net/GetAudioAnalysis", ReplyAction="*")]
System.IAsyncResult BeginGetAudioAnalysis(PitchContour.FileManager.GetAudioAnalysisRequest request, System.AsyncCallback callback, object asyncState);
PitchContour.FileManager.GetAudioAnalysisResponse EndGetAudioAnalysis(System.IAsyncResult result);
[System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://OpenLightGroup.net/GetWaveValues", ReplyAction="*")]
System.IAsyncResult BeginGetWaveValues(PitchContour.FileManager.GetWaveValuesRequest request, System.AsyncCallback callback, object asyncState);
PitchContour.FileManager.GetWaveValuesResponse EndGetWaveValues(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 GetLocalFilesRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetLocalFiles", Namespace="http://OpenLightGroup.net/", Order=0)]
public PitchContour.FileManager.GetLocalFilesRequestBody Body;
public GetLocalFilesRequest() {
}
public GetLocalFilesRequest(PitchContour.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 PitchContour.FileManager.GetLocalFilesResponseBody Body;
public GetLocalFilesResponse() {
}
public GetLocalFilesResponse(PitchContour.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 System.Collections.ObjectModel.ObservableCollection<PitchContour.FileManager.SilverlightFile> GetLocalFilesResult;
public GetLocalFilesResponseBody() {
}
public GetLocalFilesResponseBody(System.Collections.ObjectModel.ObservableCollection<PitchContour.FileManager.SilverlightFile> GetLocalFilesResult) {
this.GetLocalFilesResult = GetLocalFilesResult;
}
}
[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 UploadFilesRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Name="UploadFiles", Namespace="http://OpenLightGroup.net/", Order=0)]
public PitchContour.FileManager.UploadFilesRequestBody Body;
public UploadFilesRequest() {
}
public UploadFilesRequest(PitchContour.FileManager.UploadFilesRequestBody 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 UploadFilesRequestBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string fileName;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
public byte[] fileData;
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
public string strFileNo;
public UploadFilesRequestBody() {
}
public UploadFilesRequestBody(string fileName, byte[] fileData, string strFileNo) {
this.fileName = fileName;
this.fileData = fileData;
this.strFileNo = strFileNo;
}
}
[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 UploadFilesResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="UploadFilesResponse", Namespace="http://OpenLightGroup.net/", Order=0)]
public PitchContour.FileManager.UploadFilesResponseBody Body;
public UploadFilesResponse() {
}
public UploadFilesResponse(PitchContour.FileManager.UploadFilesResponseBody 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 UploadFilesResponseBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string UploadFilesResult;
public UploadFilesResponseBody() {
}
public UploadFilesResponseBody(string UploadFilesResult) {
this.UploadFilesResult = UploadFilesResult;
}
}
[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 GetAudioAnalysisRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetAudioAnalysis", Namespace="http://OpenLightGroup.net/", Order=0)]
public PitchContour.FileManager.GetAudioAnalysisRequestBody Body;
public GetAudioAnalysisRequest() {
}
public GetAudioAnalysisRequest(PitchContour.FileManager.GetAudioAnalysisRequestBody 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 GetAudioAnalysisRequestBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string fileName;
[System.Runtime.Serialization.DataMemberAttribute(Order=1)]
public bool createAnalysisFilesIfMissing;
public GetAudioAnalysisRequestBody() {
}
public GetAudioAnalysisRequestBody(string fileName, bool createAnalysisFilesIfMissing) {
this.fileName = fileName;
this.createAnalysisFilesIfMissing = createAnalysisFilesIfMissing;
}
}
[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 GetAudioAnalysisResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetAudioAnalysisResponse", Namespace="http://OpenLightGroup.net/", Order=0)]
public PitchContour.FileManager.GetAudioAnalysisResponseBody Body;
public GetAudioAnalysisResponse() {
}
public GetAudioAnalysisResponse(PitchContour.FileManager.GetAudioAnalysisResponseBody 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 GetAudioAnalysisResponseBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public PitchContour.FileManager.AudioAnalysisResult GetAudioAnalysisResult;
public GetAudioAnalysisResponseBody() {
}
public GetAudioAnalysisResponseBody(PitchContour.FileManager.AudioAnalysisResult GetAudioAnalysisResult) {
this.GetAudioAnalysisResult = GetAudioAnalysisResult;
}
}
[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 GetWaveValuesRequest {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetWaveValues", Namespace="http://OpenLightGroup.net/", Order=0)]
public PitchContour.FileManager.GetWaveValuesRequestBody Body;
public GetWaveValuesRequest() {
}
public GetWaveValuesRequest(PitchContour.FileManager.GetWaveValuesRequestBody 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 GetWaveValuesRequestBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public string fileName;
public GetWaveValuesRequestBody() {
}
public GetWaveValuesRequestBody(string fileName) {
this.fileName = fileName;
}
}
[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 GetWaveValuesResponse {
[System.ServiceModel.MessageBodyMemberAttribute(Name="GetWaveValuesResponse", Namespace="http://OpenLightGroup.net/", Order=0)]
public PitchContour.FileManager.GetWaveValuesResponseBody Body;
public GetWaveValuesResponse() {
}
public GetWaveValuesResponse(PitchContour.FileManager.GetWaveValuesResponseBody 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 GetWaveValuesResponseBody {
[System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
public PitchContour.FileManager.ArrayOfInt GetWaveValuesResult;
public GetWaveValuesResponseBody() {
}
public GetWaveValuesResponseBody(PitchContour.FileManager.ArrayOfInt GetWaveValuesResult) {
this.GetWaveValuesResult = GetWaveValuesResult;
}
}
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public interface WebServiceSoapChannel : PitchContour.FileManager.WebServiceSoap, System.ServiceModel.IClientChannel {
}
[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 System.Collections.ObjectModel.ObservableCollection<PitchContour.FileManager.SilverlightFile> Result {
get {
base.RaiseExceptionIfNecessary();
return ((System.Collections.ObjectModel.ObservableCollection<PitchContour.FileManager.SilverlightFile>)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class UploadFilesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public UploadFilesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public string Result {
get {
base.RaiseExceptionIfNecessary();
return ((string)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetAudioAnalysisCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetAudioAnalysisCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public PitchContour.FileManager.AudioAnalysisResult Result {
get {
base.RaiseExceptionIfNecessary();
return ((PitchContour.FileManager.AudioAnalysisResult)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class GetWaveValuesCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
private object[] results;
public GetWaveValuesCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
base(exception, cancelled, userState) {
this.results = results;
}
public PitchContour.FileManager.ArrayOfInt Result {
get {
base.RaiseExceptionIfNecessary();
return ((PitchContour.FileManager.ArrayOfInt)(this.results[0]));
}
}
}
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
public partial class WebServiceSoapClient : System.ServiceModel.ClientBase<PitchContour.FileManager.WebServiceSoap>, PitchContour.FileManager.WebServiceSoap {
private BeginOperationDelegate onBeginGetLocalFilesDelegate;
private EndOperationDelegate onEndGetLocalFilesDelegate;
private System.Threading.SendOrPostCallback onGetLocalFilesCompletedDelegate;
private BeginOperationDelegate onBeginUploadFilesDelegate;
private EndOperationDelegate onEndUploadFilesDelegate;
private System.Threading.SendOrPostCallback onUploadFilesCompletedDelegate;
private BeginOperationDelegate onBeginGetAudioAnalysisDelegate;
private EndOperationDelegate onEndGetAudioAnalysisDelegate;
private System.Threading.SendOrPostCallback onGetAudioAnalysisCompletedDelegate;
private BeginOperationDelegate onBeginGetWaveValuesDelegate;
private EndOperationDelegate onEndGetWaveValuesDelegate;
private System.Threading.SendOrPostCallback onGetWaveValuesCompletedDelegate;
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<GetLocalFilesCompletedEventArgs> GetLocalFilesCompleted;
public event System.EventHandler<UploadFilesCompletedEventArgs> UploadFilesCompleted;
public event System.EventHandler<GetAudioAnalysisCompletedEventArgs> GetAudioAnalysisCompleted;
public event System.EventHandler<GetWaveValuesCompletedEventArgs> GetWaveValuesCompleted;
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 PitchContour.FileManager.WebServiceSoap.BeginGetLocalFiles(PitchContour.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) {
PitchContour.FileManager.GetLocalFilesRequest inValue = new PitchContour.FileManager.GetLocalFilesRequest();
inValue.Body = new PitchContour.FileManager.GetLocalFilesRequestBody();
inValue.Body.FolderPath = FolderPath;
return ((PitchContour.FileManager.WebServiceSoap)(this)).BeginGetLocalFiles(inValue, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
PitchContour.FileManager.GetLocalFilesResponse PitchContour.FileManager.WebServiceSoap.EndGetLocalFiles(System.IAsyncResult result) {
return base.Channel.EndGetLocalFiles(result);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private System.Collections.ObjectModel.ObservableCollection<PitchContour.FileManager.SilverlightFile> EndGetLocalFiles(System.IAsyncResult result) {
PitchContour.FileManager.GetLocalFilesResponse retVal = ((PitchContour.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) {
System.Collections.ObjectModel.ObservableCollection<PitchContour.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);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.IAsyncResult PitchContour.FileManager.WebServiceSoap.BeginUploadFiles(PitchContour.FileManager.UploadFilesRequest request, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginUploadFiles(request, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private System.IAsyncResult BeginUploadFiles(string fileName, byte[] fileData, string strFileNo, System.AsyncCallback callback, object asyncState) {
PitchContour.FileManager.UploadFilesRequest inValue = new PitchContour.FileManager.UploadFilesRequest();
inValue.Body = new PitchContour.FileManager.UploadFilesRequestBody();
inValue.Body.fileName = fileName;
inValue.Body.fileData = fileData;
inValue.Body.strFileNo = strFileNo;
return ((PitchContour.FileManager.WebServiceSoap)(this)).BeginUploadFiles(inValue, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
PitchContour.FileManager.UploadFilesResponse PitchContour.FileManager.WebServiceSoap.EndUploadFiles(System.IAsyncResult result) {
return base.Channel.EndUploadFiles(result);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private string EndUploadFiles(System.IAsyncResult result) {
PitchContour.FileManager.UploadFilesResponse retVal = ((PitchContour.FileManager.WebServiceSoap)(this)).EndUploadFiles(result);
return retVal.Body.UploadFilesResult;
}
private System.IAsyncResult OnBeginUploadFiles(object[] inValues, System.AsyncCallback callback, object asyncState) {
string fileName = ((string)(inValues[0]));
byte[] fileData = ((byte[])(inValues[1]));
string strFileNo = ((string)(inValues[2]));
return this.BeginUploadFiles(fileName, fileData, strFileNo, callback, asyncState);
}
private object[] OnEndUploadFiles(System.IAsyncResult result) {
string retVal = this.EndUploadFiles(result);
return new object[] {
retVal};
}
private void OnUploadFilesCompleted(object state) {
if ((this.UploadFilesCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.UploadFilesCompleted(this, new UploadFilesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void UploadFilesAsync(string fileName, byte[] fileData, string strFileNo) {
this.UploadFilesAsync(fileName, fileData, strFileNo, null);
}
public void UploadFilesAsync(string fileName, byte[] fileData, string strFileNo, object userState) {
if ((this.onBeginUploadFilesDelegate == null)) {
this.onBeginUploadFilesDelegate = new BeginOperationDelegate(this.OnBeginUploadFiles);
}
if ((this.onEndUploadFilesDelegate == null)) {
this.onEndUploadFilesDelegate = new EndOperationDelegate(this.OnEndUploadFiles);
}
if ((this.onUploadFilesCompletedDelegate == null)) {
this.onUploadFilesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUploadFilesCompleted);
}
base.InvokeAsync(this.onBeginUploadFilesDelegate, new object[] {
fileName,
fileData,
strFileNo}, this.onEndUploadFilesDelegate, this.onUploadFilesCompletedDelegate, userState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.IAsyncResult PitchContour.FileManager.WebServiceSoap.BeginGetAudioAnalysis(PitchContour.FileManager.GetAudioAnalysisRequest request, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetAudioAnalysis(request, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private System.IAsyncResult BeginGetAudioAnalysis(string fileName, bool createAnalysisFilesIfMissing, System.AsyncCallback callback, object asyncState) {
PitchContour.FileManager.GetAudioAnalysisRequest inValue = new PitchContour.FileManager.GetAudioAnalysisRequest();
inValue.Body = new PitchContour.FileManager.GetAudioAnalysisRequestBody();
inValue.Body.fileName = fileName;
inValue.Body.createAnalysisFilesIfMissing = createAnalysisFilesIfMissing;
return ((PitchContour.FileManager.WebServiceSoap)(this)).BeginGetAudioAnalysis(inValue, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
PitchContour.FileManager.GetAudioAnalysisResponse PitchContour.FileManager.WebServiceSoap.EndGetAudioAnalysis(System.IAsyncResult result) {
return base.Channel.EndGetAudioAnalysis(result);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private PitchContour.FileManager.AudioAnalysisResult EndGetAudioAnalysis(System.IAsyncResult result) {
PitchContour.FileManager.GetAudioAnalysisResponse retVal = ((PitchContour.FileManager.WebServiceSoap)(this)).EndGetAudioAnalysis(result);
return retVal.Body.GetAudioAnalysisResult;
}
private System.IAsyncResult OnBeginGetAudioAnalysis(object[] inValues, System.AsyncCallback callback, object asyncState) {
string fileName = ((string)(inValues[0]));
bool createAnalysisFilesIfMissing = ((bool)(inValues[1]));
return this.BeginGetAudioAnalysis(fileName, createAnalysisFilesIfMissing, callback, asyncState);
}
private object[] OnEndGetAudioAnalysis(System.IAsyncResult result) {
PitchContour.FileManager.AudioAnalysisResult retVal = this.EndGetAudioAnalysis(result);
return new object[] {
retVal};
}
private void OnGetAudioAnalysisCompleted(object state) {
if ((this.GetAudioAnalysisCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetAudioAnalysisCompleted(this, new GetAudioAnalysisCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetAudioAnalysisAsync(string fileName, bool createAnalysisFilesIfMissing) {
this.GetAudioAnalysisAsync(fileName, createAnalysisFilesIfMissing, null);
}
public void GetAudioAnalysisAsync(string fileName, bool createAnalysisFilesIfMissing, object userState) {
if ((this.onBeginGetAudioAnalysisDelegate == null)) {
this.onBeginGetAudioAnalysisDelegate = new BeginOperationDelegate(this.OnBeginGetAudioAnalysis);
}
if ((this.onEndGetAudioAnalysisDelegate == null)) {
this.onEndGetAudioAnalysisDelegate = new EndOperationDelegate(this.OnEndGetAudioAnalysis);
}
if ((this.onGetAudioAnalysisCompletedDelegate == null)) {
this.onGetAudioAnalysisCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAudioAnalysisCompleted);
}
base.InvokeAsync(this.onBeginGetAudioAnalysisDelegate, new object[] {
fileName,
createAnalysisFilesIfMissing}, this.onEndGetAudioAnalysisDelegate, this.onGetAudioAnalysisCompletedDelegate, userState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
System.IAsyncResult PitchContour.FileManager.WebServiceSoap.BeginGetWaveValues(PitchContour.FileManager.GetWaveValuesRequest request, System.AsyncCallback callback, object asyncState) {
return base.Channel.BeginGetWaveValues(request, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private System.IAsyncResult BeginGetWaveValues(string fileName, System.AsyncCallback callback, object asyncState) {
PitchContour.FileManager.GetWaveValuesRequest inValue = new PitchContour.FileManager.GetWaveValuesRequest();
inValue.Body = new PitchContour.FileManager.GetWaveValuesRequestBody();
inValue.Body.fileName = fileName;
return ((PitchContour.FileManager.WebServiceSoap)(this)).BeginGetWaveValues(inValue, callback, asyncState);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
PitchContour.FileManager.GetWaveValuesResponse PitchContour.FileManager.WebServiceSoap.EndGetWaveValues(System.IAsyncResult result) {
return base.Channel.EndGetWaveValues(result);
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
private PitchContour.FileManager.ArrayOfInt EndGetWaveValues(System.IAsyncResult result) {
PitchContour.FileManager.GetWaveValuesResponse retVal = ((PitchContour.FileManager.WebServiceSoap)(this)).EndGetWaveValues(result);
return retVal.Body.GetWaveValuesResult;
}
private System.IAsyncResult OnBeginGetWaveValues(object[] inValues, System.AsyncCallback callback, object asyncState) {
string fileName = ((string)(inValues[0]));
return this.BeginGetWaveValues(fileName, callback, asyncState);
}
private object[] OnEndGetWaveValues(System.IAsyncResult result) {
PitchContour.FileManager.ArrayOfInt retVal = this.EndGetWaveValues(result);
return new object[] {
retVal};
}
private void OnGetWaveValuesCompleted(object state) {
if ((this.GetWaveValuesCompleted != null)) {
InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
this.GetWaveValuesCompleted(this, new GetWaveValuesCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
}
}
public void GetWaveValuesAsync(string fileName) {
this.GetWaveValuesAsync(fileName, null);
}
public void GetWaveValuesAsync(string fileName, object userState) {
if ((this.onBeginGetWaveValuesDelegate == null)) {
this.onBeginGetWaveValuesDelegate = new BeginOperationDelegate(this.OnBeginGetWaveValues);
}
if ((this.onEndGetWaveValuesDelegate == null)) {
this.onEndGetWaveValuesDelegate = new EndOperationDelegate(this.OnEndGetWaveValues);
}
if ((this.onGetWaveValuesCompletedDelegate == null)) {
this.onGetWaveValuesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetWaveValuesCompleted);
}
base.InvokeAsync(this.onBeginGetWaveValuesDelegate, new object[] {
fileName}, this.onEndGetWaveValuesDelegate, this.onGetWaveValuesCompletedDelegate, 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 PitchContour.FileManager.WebServiceSoap CreateChannel() {
return new WebServiceSoapClientChannel(this);
}
private class WebServiceSoapClientChannel : ChannelBase<PitchContour.FileManager.WebServiceSoap>, PitchContour.FileManager.WebServiceSoap {
public WebServiceSoapClientChannel(System.ServiceModel.ClientBase<PitchContour.FileManager.WebServiceSoap> client) :
base(client) {
}
public System.IAsyncResult BeginGetLocalFiles(PitchContour.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 PitchContour.FileManager.GetLocalFilesResponse EndGetLocalFiles(System.IAsyncResult result) {
object[] _args = new object[0];
PitchContour.FileManager.GetLocalFilesResponse _result = ((PitchContour.FileManager.GetLocalFilesResponse)(base.EndInvoke("GetLocalFiles", _args, result)));
return _result;
}
public System.IAsyncResult BeginUploadFiles(PitchContour.FileManager.UploadFilesRequest request, System.AsyncCallback callback, object asyncState) {
object[] _args = new object[1];
_args[0] = request;
System.IAsyncResult _result = base.BeginInvoke("UploadFiles", _args, callback, asyncState);
return _result;
}
public PitchContour.FileManager.UploadFilesResponse EndUploadFiles(System.IAsyncResult result) {
object[] _args = new object[0];
PitchContour.FileManager.UploadFilesResponse _result = ((PitchContour.FileManager.UploadFilesResponse)(base.EndInvoke("UploadFiles", _args, result)));
return _result;
}
public System.IAsyncResult BeginGetAudioAnalysis(PitchContour.FileManager.GetAudioAnalysisRequest request, System.AsyncCallback callback, object asyncState) {
object[] _args = new object[1];
_args[0] = request;
System.IAsyncResult _result = base.BeginInvoke("GetAudioAnalysis", _args, callback, asyncState);
return _result;
}
public PitchContour.FileManager.GetAudioAnalysisResponse EndGetAudioAnalysis(System.IAsyncResult result) {
object[] _args = new object[0];
PitchContour.FileManager.GetAudioAnalysisResponse _result = ((PitchContour.FileManager.GetAudioAnalysisResponse)(base.EndInvoke("GetAudioAnalysis", _args, result)));
return _result;
}
public System.IAsyncResult BeginGetWaveValues(PitchContour.FileManager.GetWaveValuesRequest request, System.AsyncCallback callback, object asyncState) {
object[] _args = new object[1];
_args[0] = request;
System.IAsyncResult _result = base.BeginInvoke("GetWaveValues", _args, callback, asyncState);
return _result;
}
public PitchContour.FileManager.GetWaveValuesResponse EndGetWaveValues(System.IAsyncResult result) {
object[] _args = new object[0];
PitchContour.FileManager.GetWaveValuesResponse _result = ((PitchContour.FileManager.GetWaveValuesResponse)(base.EndInvoke("GetWaveValues", _args, result)));
return _result;
}
}
}
}