示例#1
0
 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();
 }
示例#2
0
 public Tests()
 {
     this._VendingSession = new VendingSession();
 }
示例#3
0
 public void Start()
 {
     Console.WriteLine("Starting Vending Machine...");
     vendingSession = serviceProvider.GetRequiredService <IVendingSession>();
 }