예제 #1
0
 static void WorkSessionAdminTools_Disposed(IWorkSession workSession, DocumentDiagnosticEventArgs e)
 {
     WorkSessionMessenger.SendMessage(MessageOperation.RemoveWorkSession, workSession.ID, workSession.DocumentInfo.DocumentId);
     #if DEBUG
     Log(workSession, "Remove");
     #endif
 }
예제 #2
0
 static void WorkSessionAdminTools_WokeUp(IWorkSession workSession, DocumentDiagnosticEventArgs e)
 {
     WorkSessionMessenger.SendMessage(MessageOperation.WakeUpWorkSession, workSession.ID, workSession.DocumentInfo.DocumentId);
     #if DEBUG
     Log(workSession, "WokenUp");
     #endif
 }
예제 #3
0
 static void WorkSessionAdminTools_Created(IWorkSession workSession, DocumentDiagnosticEventArgs e)
 {
     WorkSessionMessenger.SendMessage(MessageOperation.AddWorkSession, workSession.ID, workSession.DocumentInfo.DocumentId);
     #if DEBUG
     Log(workSession, "Add");
     #endif
 }
 public static void LogInternalCheckoutEvent(IWorkSession workSession, DocumentDiagnosticEventArgs args)
 {
     LogRedisOperationEventCore(
         "internal check out",
         workSession != null ? workSession.ID.ToString() : "none",
         workSession != null ? workSession.DocumentInfo.DocumentId : "none",
         StateLockerIdentificator.GeGlobalDomainId(), "unknown");
 }