/// <summary>
 /// Handles a general change to properties of a working order in the collection.
 /// </summary>
 /// <param name="equityBlotterPage">An object in the foreground thread that is notified of errors.</param>
 /// <param name="equityWorkingOrder">A working order that has changed.</param>
 static void UpdateWorkingOrderProperty(EquityBlotterPage equityBlotterPage, EquityWorkingOrder equityWorkingOrder)
 {
     // This will extract the fields of the working order from the View Model and initiate a background task that will call the server to update the record.
     WebService.WorkingOrder workingOrder = new WebService.WorkingOrder()
     {
         IsBrokerMatch      = equityWorkingOrder.IsBrokerMatch,
         IsHedgeMatch       = equityWorkingOrder.IsHedgeMatch,
         IsInstitutionMatch = equityWorkingOrder.IsInstitutionMatch,
         RowVersion         = equityWorkingOrder.RowVersion,
         SideCode           = equityWorkingOrder.SideCode,
         TimeInForceCode    = equityWorkingOrder.TimeInForceCode,
         WorkingOrderId     = equityWorkingOrder.WorkingOrderId
     };
     ThreadPool.QueueUserWorkItem(equityBlotterPage.UpdateWorkingOrderThread, new WebService.WorkingOrder[] { workingOrder });
 }
Beispiel #2
0
 /// <summary>
 /// Handles a general change to properties of a working order in the collection.
 /// </summary>
 /// <param name="equityBlotterPage">An object in the foreground thread that is notified of errors.</param>
 /// <param name="equityWorkingOrder">A working order that has changed.</param>
 static void UpdateWorkingOrderProperty(EquityBlotterPage equityBlotterPage, EquityWorkingOrder equityWorkingOrder)
 {
 }