static void WorkSessionAdminTools_Disposed(IWorkSession workSession, DocumentDiagnosticEventArgs e) { WorkSessionMessenger.SendMessage(MessageOperation.RemoveWorkSession, workSession.ID, workSession.DocumentInfo.DocumentId); #if DEBUG Log(workSession, "Remove"); #endif }
static void WorkSessionAdminTools_WokeUp(IWorkSession workSession, DocumentDiagnosticEventArgs e) { WorkSessionMessenger.SendMessage(MessageOperation.WakeUpWorkSession, workSession.ID, workSession.DocumentInfo.DocumentId); #if DEBUG Log(workSession, "WokenUp"); #endif }
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"); }