/// <remarks/> public void GetTradedLotsAsync(int Filter, int Role, TViewSummary ViewSummary, TTradedLot[] Lots) { this.GetTradedLotsAsync(Filter, Role, ViewSummary, Lots, null); }
/// <remarks/> public void GetTradedLotsAsync(int Filter, int Role, TViewSummary ViewSummary, TTradedLot[] Lots, object userState) { if ((this.GetTradedLotsOperationCompleted == null)) { this.GetTradedLotsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetTradedLotsOperationCompleted); } this.InvokeAsync("GetTradedLots", new object[] { Filter, Role, ViewSummary, Lots}, this.GetTradedLotsOperationCompleted, userState); }
public bool GetTradedLots(int Filter, int Role, ref TViewSummary ViewSummary, ref TTradedLot[] Lots) { object[] results = this.Invoke("GetTradedLots", new object[] { Filter, Role, ViewSummary, Lots}); ViewSummary = ((TViewSummary)(results[1])); Lots = ((TTradedLot[])(results[2])); return ((bool)(results[0])); }