Skip to content

Instantly share code, notes, and snippets.

@prabakaranr

prabakaranr/SchedulerPageViewModel.cs Secret

Last active Dec 13, 2019
Embed
What would you like to do?
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