public string[] find(TFind_Input SearchParameters) { object[] results = this.Invoke("find", new object[] { SearchParameters }); return((string[])(results[0])); }
/// <summary> /// test find method. search for specific email and expect the previously created Order /// </summary> public void find() { TFind_Input parameters = new TFind_Input(); parameters.Alias = Order_in.Alias; parameters.DateFrom = new DateTime(2006, 1, 1, 0, 0, 0, DateTimeKind.Local); parameters.DateTo = new DateTime(2006, 1, 3, 0, 0, 0, DateTimeKind.Local); string[] OrderPaths = orderService.find(parameters); // test if find was successful Assert.AreEqual(1, OrderPaths.Length, "find result set"); Assert.AreEqual(path, OrderPaths[0], "Order path"); }
/// <remarks/> public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("find", new object[] { SearchParameters }, callback, asyncState)); }
/// <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])); }