public PatchExecutionLogRecord(PatchExecutionEventType eventType, ISnPatch patch, string message = null) { EventType = eventType; Patch = patch; Message = message; }
private void Log(ISnPatch patch, PatchExecutionEventType eventType) { _context.LogCallback?.Invoke(new PatchExecutionLogRecord(eventType, patch)); }