Beispiel #1
0
 public Task OnInterruptedAsync(InterruptedParameter parameter)
 {
     return Task.Factory.StartNew(() =>
     {
         m_logger = Models.Logger.StartNew(BasePath, parameter.Name);
         m_logger.Insert("", "", parameter.Genre, parameter.Description, parameter.Comment);
     });
 }
Beispiel #2
0
 public Task OnBroadcastedAsync(BroadcastingParameter parameter)
 {
     return Task.Factory.StartNew(() =>
     {
         m_logger = Models.Logger.StartNew(BasePath, parameter.BroadcastParameter.Name);
         var param = parameter.BroadcastParameter;
         m_logger.Insert("", "", param.Genre, param.Description, param.Comment);
     });
 }