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

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