public void Run(RunTime TimeToRun)
{
if (Tasks.ContainsKey(TimeToRun))
{
Tasks[TimeToRun].ForEach(x =>
{
if (BatComputer.Bootstrapper != null)
BatComputer.Bootstrapper.Resolve<LogBase>(new NullLogger()).LogMessage("Running {0}", MessageType.Info, x.Name);
x.Run();
});
}
}