public string[] find(TFind_Input SearchParameters) { object[] results = this.Invoke("find", new object[] { SearchParameters }); return((string[])(results[0])); }
/// <remarks/> public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("find", new object[] { SearchParameters }, callback, asyncState)); }
/// <summary> /// test find method. search for specific email and expect the previously created customer /// </summary> public void find() { TFind_Input parameters = new TFind_Input(); parameters.EMail = customer_in.BillingAddress.EMail; string[] customerPaths = serviceClient.find(parameters); // test if find was successful Assert.AreEqual(1, customerPaths.Length, "find result set"); Assert.AreEqual(path + alias, customerPaths[0], "customer path"); }
/// <summary> /// use stub to find customers via web services /// </summary> /// <param name="parameters">search parameters, TFind_Input</param> /// <returns>found customers, Array of paths</returns> public string[] find(TFind_Input parameters) { string[] paths = stub.find(parameters); Console.WriteLine("found entries: " + paths.Length); return paths; }
/// <remarks/> public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("find", new object[] { SearchParameters}, callback, asyncState); }
public string[] find(TFind_Input SearchParameters) { object[] results = this.Invoke("find", new object[] { SearchParameters}); return ((string[])(results[0])); }