Automated dotnet-format update

This commit is contained in:
github-actions-dotnet-formatter[bot] committed 2020-12-04 15:12:55 +00:00
1 parent ad4c2f68aa
commit 2af18c2d38
403 files changed
+1569 -1567

No files matched your search

@@ -55,7 +55,7 @@ namespace HandyControl.Controls
public string Message
{
get => (string)GetValue(MessageProperty);
get => (string) GetValue(MessageProperty);
set => SetValue(MessageProperty, value);
}
@@ -64,7 +64,7 @@ namespace HandyControl.Controls
public Geometry Image
{
get => (Geometry)GetValue(ImageProperty);
get => (Geometry) GetValue(ImageProperty);
set => SetValue(ImageProperty, value);
}
@@ -73,7 +73,7 @@ namespace HandyControl.Controls
public Brush ImageBrush
{
get => (Brush)GetValue(ImageBrushProperty);
get => (Brush) GetValue(ImageBrushProperty);
set => SetValue(ImageBrushProperty, value);
}
@@ -82,7 +82,7 @@ namespace HandyControl.Controls
public bool ShowImage
{
get => (bool)GetValue(ShowImageProperty);
get => (bool) GetValue(ShowImageProperty);
set => SetValue(ShowImageProperty, ValueBoxes.BooleanBox(value));
}
@@ -133,7 +133,7 @@ namespace HandyControl.Controls
{
base.OnApplyTemplate();
_panel = GetTemplateChild(ElementPanel) as Panel;
_panel = GetTemplateChild(ElementPanel) as Panel;
if (_panel != null)
{
if (_buttonOk != null)
@@ -419,15 +419,15 @@ namespace HandyControl.Controls
{
if (!IsValidMessageBoxButton(button))
{
throw new InvalidEnumArgumentException(nameof(button), (int)button, typeof(MessageBoxButton));
throw new InvalidEnumArgumentException(nameof(button), (int) button, typeof(MessageBoxButton));
}
if (!IsValidMessageBoxImage(icon))
{
throw new InvalidEnumArgumentException(nameof(icon), (int)icon, typeof(MessageBoxImage));
throw new InvalidEnumArgumentException(nameof(icon), (int) icon, typeof(MessageBoxImage));
}
if (!IsValidMessageBoxResult(defaultResult))
{
throw new InvalidEnumArgumentException(nameof(defaultResult), (int)defaultResult, typeof(MessageBoxResult));
throw new InvalidEnumArgumentException(nameof(defaultResult), (int) defaultResult, typeof(MessageBoxResult));
}
var ownerWindow = owner ?? WindowHelper.GetActiveWindow();
@@ -630,4 +630,4 @@ namespace HandyControl.Controls
|| value == MessageBoxResult.Yes;
}
}
}
}