should work? test 1?
This commit is contained in:
parent
f7fdc4c886
commit
de9fafe348
32
Program.cs
32
Program.cs
@ -96,24 +96,24 @@ namespace director
|
||||
}
|
||||
}
|
||||
Console.WriteLine("calendars checked");
|
||||
#if (DEBUG)
|
||||
//if(true)
|
||||
{
|
||||
Console.WriteLine("debug test");
|
||||
// #if (DEBUG)
|
||||
// //if(true)
|
||||
// {
|
||||
// Console.WriteLine("debug test");
|
||||
|
||||
var psuedo = new schedulable.Scheduled();
|
||||
psuedo.Showtime = DateTime.Now + TimeSpan.FromMinutes(30);
|
||||
// foreach(var a in scratch.agenda){
|
||||
// Console.WriteLine(a.Occurrence._event.Summary);
|
||||
// var psuedo = new schedulable.Scheduled();
|
||||
// psuedo.Showtime = DateTime.Now + TimeSpan.FromMinutes(30);
|
||||
// // foreach(var a in scratch.agenda){
|
||||
// // Console.WriteLine(a.Occurrence._event.Summary);
|
||||
// // }
|
||||
// var partiallyCopiable = scratch.agenda?.First(a => a.Occurrence._event.Summary == "Good Morning, Phyrexia (in the morning)!");
|
||||
// psuedo.Occurrence = partiallyCopiable.Occurrence;
|
||||
// psuedo.Occurrence.OccurrenceStart = psuedo.Showtime;
|
||||
// psuedo.Occurrence.OccurrenceEnd = psuedo.Showtime;
|
||||
// workQueue.Enqueue(psuedo);
|
||||
// _signal.Set();
|
||||
// }
|
||||
var partiallyCopiable = scratch.agenda?.First(a => a.Occurrence._event.Summary == "Good Morning, Phyrexia (in the morning)!");
|
||||
psuedo.Occurrence = partiallyCopiable.Occurrence;
|
||||
psuedo.Occurrence.OccurrenceStart = psuedo.Showtime;
|
||||
psuedo.Occurrence.OccurrenceEnd = psuedo.Showtime;
|
||||
workQueue.Enqueue(psuedo);
|
||||
_signal.Set();
|
||||
}
|
||||
#endif
|
||||
// #endif
|
||||
}
|
||||
|
||||
private static async Task checkCalendar(string calendarUri)
|
||||
|
Loading…
Reference in New Issue
Block a user