Skip to content

Instantly share code, notes, and snippets.

@prabakaranr
Last active December 13, 2019 06:05
Show Gist options
  • Save prabakaranr/7ffdcc9664ae05d3283bfed4b85ef23e to your computer and use it in GitHub Desktop.
Save prabakaranr/7ffdcc9664ae05d3283bfed4b85ef23e to your computer and use it in GitHub Desktop.
public class SchedulerPageViewModel
{
private DateTime appointmentStartTime = new DateTime(2019, 12, 9, 12, 0, 0);
public IList<Meeting> Meetings { get; set; }
public SchedulerPageViewModel()
{
Meetings = new List<Meeting>
{
new Meeting("General Meeting", "Online", appointmentStartTime),
new Meeting("Release Retrospective", "Office", appointmentStartTime.AddDays(1).AddHours(-3)),
new Meeting("Sprint Meeting", "Online", appointmentStartTime.AddDays(2).AddHours(2)),
new Meeting("Release Planning", "Online", appointmentStartTime.AddDays(1).AddHours(-2)),
new Meeting("General Meeting", "Office",appointmentStartTime.AddDays(1).AddHours(1)),
new Meeting("Customer Meeting", "Online", appointmentStartTime.AddDays(2)),
new Meeting("Sprint Meeting", "Office", appointmentStartTime.AddDays(3).AddHours(4)),
};
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment