private static void InitializeApp() { Console.WriteLine(""); Console.WriteLine("INSERT COIN: [P] Penny [N] Nickel [D] Dime [Q] Quarter [L] Looney [X] Exit"); _lastDisplayUpdate = default(DateTime); _session = new VendingSession(); UpdateDisplay(); }
public Tests() { this._VendingSession = new VendingSession(); }
public void Start() { Console.WriteLine("Starting Vending Machine..."); vendingSession = serviceProvider.GetRequiredService <IVendingSession>(); }