public int getCount(type_GetCount_In Filter) { object[] results = this.Invoke("getCount", new object[] { Filter }); return((int)(results[0])); }
public void getCount() { type_GetCount_In GetCount_in = new type_GetCount_In(); GetCount_in.IsClosed = 2; GetCount_in.IsDeleted = 2; GetCount_in.IsPreCreated = 2; GetCount_in.IsTrialShop = 2; GetCount_in.IsInternalTestShop = 2; int allShops = shopCountService.getCount(GetCount_in); Console.WriteLine("all shops: " + allShops); Assert.Greater(allShops, 0, "total shop count is greater 0"); GetCount_in.IsClosed = 0; GetCount_in.IsDeleted = 0; GetCount_in.IsPreCreated = 0; GetCount_in.IsTrialShop = 0; GetCount_in.IsInternalTestShop = 0; int liveShops = shopCountService.getCount(GetCount_in); Console.WriteLine("live shops: " + liveShops); Assert.IsTrue(allShops >= liveShops, "total shop count is greater or equal live shops"); }
/// <remarks/> public System.IAsyncResult BegingetCount(type_GetCount_In Filter, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("getCount", new object[] { Filter }, callback, asyncState)); }
/// <remarks/> public System.IAsyncResult BegingetCount(type_GetCount_In Filter, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("getCount", new object[] { Filter}, callback, asyncState); }
public int getCount(type_GetCount_In Filter) { object[] results = this.Invoke("getCount", new object[] { Filter}); return ((int)(results[0])); }