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

            return((string[])(results[0]));
        }
示例#2
0
 /// <remarks/>
 public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState) {
     return this.BeginInvoke("find", new object[] {
                 SearchParameters}, callback, asyncState);
 }
示例#3
0
 public string[] find(TFind_Input SearchParameters) {
     object[] results = this.Invoke("find", new object[] {
                 SearchParameters});
     return ((string[])(results[0]));
 }
		/// <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;
		}
示例#5
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");
		}
示例#6
0
 /// <remarks/>
 public System.IAsyncResult Beginfind(TFind_Input SearchParameters, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("find", new object[] {
         SearchParameters
     }, callback, asyncState));
 }