Beispiel #1
0
        public string[] find(TFind_Input SearchParameters)
        {
            object[] results = this.Invoke("find", new object[] {
                SearchParameters
            });

            return((string[])(results[0]));
        }
Beispiel #2
0
		/// <summary>
		/// test find method. search for specific email and expect the previously created Product
		/// </summary>
		public void find()
		{
			TFind_Input parameters = new TFind_Input();
			parameters.Alias = Product_in.Alias;
			string[] ProductPaths = serviceClient.find(parameters);

			// test if find was successful
			Assert.AreEqual(1, ProductPaths.Length, "find result set");
			Assert.AreEqual(path + alias, ProductPaths[0], "product path");
		}
Beispiel #3
0
 /// <remarks/>
 public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("find", new object[] {
                 SearchParameters}, callback, asyncState);
 }
Beispiel #4
0
 public string[] find(TFind_Input SearchParameters) {
     object[] results = this.Invoke("find", new object[] {
                 SearchParameters});
     return ((string[])(results[0]));
 }
Beispiel #5
0
 /// <remarks/>
 public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("find", new object[] {
         SearchParameters
     }, callback, asyncState));
 }
		/// <summary>
		/// use stub to find Products via web services
		/// </summary>
		/// <param name="parameters">search parameters, TFind_Input</param>
		/// <returns>found Products, Array of paths</returns>
		public string[] find(TFind_Input parameters)
		{
			string[] paths = stub.find(parameters);

			Console.WriteLine("found entries: " + paths.Length);

			return paths;
		}