Example #1
0
        private void InitializeAuction()
        {
            // Initialize model
            auctionViewModel = new AuctionViewModel(0, 10, DateTime.Now.AddSeconds(30), 0);

            timer = new System.Threading.Timer(TimerExpired, null, secs_10, 0);

            initialized = true;
        }
Example #2
0
 internal static void AuctionRefresh(AuctionViewModel model)
 {
     GetHubContext().Clients.All.auctionRefresh(model);
 }