summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2017-03-26 11:57:57 +0100
committersr55 <[email protected]>2017-03-26 11:57:57 +0100
commit6402bd62a09790377fa76868bed361ffa9b5c810 (patch)
tree99629d78f89f4dac2fca036e0e85cdbadb4f6f8e /win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs
parentb13c230613ae2092a5ce6f699df10a93f400cff6 (diff)
WinGui: Fix a number of stylecop warnings.
Diffstat (limited to 'win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs')
-rw-r--r--win/CS/HandBrakeWPF/ViewModels/LogViewModel.cs30
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