Esempio n. 1
0
 public CompositeType GetDataUsingDataContract(CompositeType composite)
 {
     if (composite == null)
     {
         throw new ArgumentNullException("composite");
     }
     if (composite.BoolValue)
     {
         composite.StringValue += "Suffix";
     }
     return composite;
 }
Esempio n. 2
0
 /// <remarks/>
 public void GetDataUsingDataContractAsync(CompositeType composite, object userState) {
     if ((this.GetDataUsingDataContractOperationCompleted == null)) {
         this.GetDataUsingDataContractOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataUsingDataContractOperationCompleted);
     }
     this.InvokeAsync("GetDataUsingDataContract", new object[] {
                 composite}, this.GetDataUsingDataContractOperationCompleted, userState);
 }
Esempio n. 3
0
 /// <remarks/>
 public void GetDataUsingDataContractAsync(CompositeType composite) {
     this.GetDataUsingDataContractAsync(composite, null);
 }
Esempio n. 4
0
 public CompositeType GetDataUsingDataContract(CompositeType composite) {
     object[] results = this.Invoke("GetDataUsingDataContract", new object[] {
                 composite});
     return ((CompositeType)(results[0]));
 }
Esempio n. 5
0
 /// <remarks/>
 public System.IAsyncResult BeginGetDataUsingDataContract(CompositeType composite, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("GetDataUsingDataContract", new object[] {
                 composite}, callback, asyncState);
 }