Beispiel #1
0
        public Task AddBid(StockBid stockBid)
        {
            Bids.Add(stockBid);
            ServiceEventSource.Current.ServiceRequestStart("AddBid");
            ServiceEventSource.Current.ServiceRequestStop("AddBid");

            MatchBidToSale(stockBid);

            // Return empty task, because interface has to return Task
            // http://stackoverflow.com/questions/13127177/if-my-interface-must-return-task-what-is-the-best-way-to-have-a-no-operation-imp
            return(Task.FromResult <object>(null));
        }
Beispiel #2
0
 private void MatchBidToSale(StockBid stockBid)
 {
 }