コード例 #1
0
        public static void Main()
        {
            IShared shared = new Shared();
            IDestinationRepository destinationRepository = new DestinationRepositoryLogic();
            IWelcomePage           welcome           = new WelcomePage();
            IHolidayType           holidayType       = new HolidayTypePage(destinationRepository, shared);
            IPartyNumberPage       partyNumber       = new PartyNumberPage(shared);
            IBudgetPage            budgetPage        = new BudgetPage(shared);
            IDestinationFilter     destinationFilter = new DestinationFilter();
            IResultsPage           resultsPage       = new ResultsPage(shared);

            Application applicationStart = new Application(holidayType, shared, partyNumber, budgetPage, destinationFilter, resultsPage);

            welcome.OpeningGreeting();
            applicationStart.StartApplication();
        }
コード例 #2
0
 public BudgetFeatureSteps()
 {
     this._budgetPage = new BudgetPage(this);
 }