private void SetDetectStepCurrentStatus(DetectingStatus detectingStatus) { if (StepIndex >= detectSteps.Count) { return; } stepsLocker.EnterWriteLock(); try { detectSteps[StepIndex].DetectingStatus = detectingStatus; } finally { stepsLocker.ExitWriteLock(); } }
public DetectingItem(string content, DetectingStatus status, LogStyle style) { this.DetectingContent = content; this.DetectingStatus = status; this.Style = style; }