Winify

Subversion Repositories:
Compare Path: Rev
With Path: Rev
?path1? @ 66  →  ?path2? @ 67
/trunk/Winify/Utilities/Components/ReadOnlyRichTextBox.Designer.cs
@@ -1,4 +1,6 @@

using System.ComponentModel;
 
namespace Winify.Utilities.Components
{
partial class ReadOnlyRichTextBox
@@ -6,7 +8,7 @@
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
private IContainer components = null;
 
/// <summary>
/// Clean up any resources being used.
/trunk/Winify/Utilities/LogMemorySink.cs
@@ -6,7 +6,7 @@
using Serilog.Formatting;
using Serilog.Formatting.Display;
 
namespace Winify
namespace Winify.Utilities
{
public class LogMemorySink : ILogEventSink
{
@@ -18,7 +18,10 @@
 
public void Emit(LogEvent logEvent)
{
if (logEvent == null) throw new ArgumentNullException(nameof(logEvent));
if (logEvent == null)
{
throw new ArgumentNullException(nameof(logEvent));
}
 
using var stringWriter = new StringWriter();
_textFormatter.Format(logEvent, stringWriter);
/trunk/Winify/Utilities/Miscellaneous.cs
@@ -147,12 +147,12 @@
using var rk = localMachineX64View.OpenSubKey(location);
if (rk == null)
throw new KeyNotFoundException(
string.Format("Key Not Found: {0}", location));
$"Key Not Found: {location}");
 
var machineGuid = rk.GetValue(name);
if (machineGuid == null)
throw new IndexOutOfRangeException(
string.Format("Index Not Found: {0}", name));
$"Index Not Found: {name}");
 
return machineGuid.ToString();
}