public void Run() { "PassFruit".Message(); //do { // var confirm = // "Test Confirm" // .Option("y", () => "Confirmed".Message()) // .Confirm(); // if (confirm) { // "OK".Message(); // } else { // "KO".Message(); // } // "Options in Loop" // .Option("a", () => "Option A".Message()) // .Option("b", () => "Option B".Message()) // .Option("c", () => "Option C".Message()) // .ChooseAndLoopOptions(); // var selected = ... // "Single option" // .Option("a", () => "Option A".Message()) // .Option("b", () => "Option B".Message()) // .Option("c", () => "Option C".Message()) // .Choose(true); //} while (true); // .Options var accountSection = new AccountSection(_dataStore); do { accountSection.ChooseAccount(); } while (!Exit()); }
public AccountDetailSection(AccountSection parentSection) { _parentSection = parentSection; }