public DisplayCalendarView(string username) { displayCalendarViewModel = new DisplayCalendarViewModel(); displayCalendarViewModel.SetLoggedUser(username); InitializeComponent(); this.DataContext = displayCalendarViewModel; }
public void HasValidConstructor() { DisplayCalendarViewModel viewModel = new DisplayCalendarViewModel(); }
public DisplayCalendarView() { _displayCalendarViewModel = new DisplayCalendarViewModel(); InitializeComponent(); this.DataContext = _displayCalendarViewModel; }
public static void HasValidConstructor() { DisplayCalendarViewModel viewModel = new DisplayCalendarViewModel(); Assert.NotNull(viewModel); }