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