diff options
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs')
-rw-r--r-- | win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs b/win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs index ce82439f1..85ac495ff 100644 --- a/win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs +++ b/win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs @@ -108,6 +108,21 @@ namespace HandBrakeWPF.ViewModels }
/// <summary>
+ /// Trigger a faster / smoother way of updating the log window.
+ /// </summary>
+ /// <param name="e">
+ /// The e.
+ /// </param>
+ protected virtual void OnLogMessageReceived(LogEventArgs e)
+ {
+ var onLogMessageReceived = this.LogMessageReceived;
+ if (onLogMessageReceived != null)
+ {
+ onLogMessageReceived.Invoke(this, e);
+ }
+ }
+
+ /// <summary>
/// Handle the OnDeactivate Caliburn Event
/// </summary>
/// <param name="close">
@@ -172,20 +187,5 @@ namespace HandBrakeWPF.ViewModels });
}
}
-
- /// <summary>
- /// Trigger a faster / smoother way of updating the log window.
- /// </summary>
- /// <param name="e">
- /// The e.
- /// </param>
- protected virtual void OnLogMessageReceived(LogEventArgs e)
- {
- var onLogMessageReceived = this.LogMessageReceived;
- if (onLogMessageReceived != null)
- {
- onLogMessageReceived.Invoke(this, e);
- }
- }
}
}
\ No newline at end of file |