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
12 files changed
+16 -14

No files matched your search

@@ -1,6 +1,6 @@
using GalaSoft.MvvmLight.Command; using System;
using System;
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls; using HandyControl.Controls;
using HandyControl.Data; using HandyControl.Data;
using HandyControlDemo.UserControl; using HandyControlDemo.UserControl;
@@ -1,8 +1,8 @@
using System; using System;
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls; using HandyControl.Controls;
using HandyControl.Data; using HandyControl.Data;
using GalaSoft.MvvmLight.Command;
namespace HandyControlDemo.ViewModel namespace HandyControlDemo.ViewModel
{ {
@@ -1,7 +1,7 @@
using System; using System;
using GalaSoft.MvvmLight; using GalaSoft.MvvmLight;
using HandyControl.Controls;
using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Command;
using HandyControl.Controls;
namespace HandyControlDemo.ViewModel namespace HandyControlDemo.ViewModel
{ {
@@ -1,7 +1,7 @@
using System; using System;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls; using HandyControl.Controls;
using HandyControlDemo.UserControl; using HandyControlDemo.UserControl;
using GalaSoft.MvvmLight.Command;
namespace HandyControlDemo.ViewModel namespace HandyControlDemo.ViewModel
{ {
@@ -1,10 +1,10 @@
using System; using System;
using System.Windows; using System.Windows;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls; using HandyControl.Controls;
using HandyControl.Data; using HandyControl.Data;
using HandyControlDemo.Data; using HandyControlDemo.Data;
using HandyControlDemo.Service; using HandyControlDemo.Service;
using GalaSoft.MvvmLight.Command;
namespace HandyControlDemo.ViewModel namespace HandyControlDemo.ViewModel
{ {
@@ -1,4 +1,4 @@
using System.Linq; using System.Linq;
using System.Windows; using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Controls.Primitives; using System.Windows.Controls.Primitives;
@@ -1,4 +1,4 @@
using System; using System;
using System.Windows; using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Controls.Primitives; using System.Windows.Controls.Primitives;
@@ -1,9 +1,9 @@
using HandyControl.Tools.Extension; using System.Linq;
using System.Linq;
using System.Windows; using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using HandyControl.Data; using HandyControl.Data;
using HandyControl.Tools; using HandyControl.Tools;
using HandyControl.Tools.Extension;
namespace HandyControl.Controls namespace HandyControl.Controls
{ {
@@ -1,9 +1,9 @@
// Adapted from https://referencesource.microsoft.com/#PresentationFramework/src/Framework/System/Windows/Controls/Primitives/RangeBase.cs // Adapted from https://referencesource.microsoft.com/#PresentationFramework/src/Framework/System/Windows/Controls/Primitives/RangeBase.cs
using HandyControl.Data;
using HandyControl.Tools;
using System.Windows; using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
using HandyControl.Data;
using HandyControl.Tools;
namespace HandyControl.Controls namespace HandyControl.Controls
{ {
@@ -15,7 +15,8 @@ namespace HandyControl.Expression.Media
static DrawingPropertyMetadata() static DrawingPropertyMetadata()
{ {
DrawingPropertyChanged += delegate (object sender, DrawingPropertyChangedEventArgs args) { DrawingPropertyChanged += delegate (object sender, DrawingPropertyChangedEventArgs args)
{
if ((sender is IShape shape) && args.Metadata.AffectsRender) if ((sender is IShape shape) && args.Metadata.AffectsRender)
{ {
InvalidateGeometryReasons reasons = InvalidateGeometryReasons.PropertyChanged; InvalidateGeometryReasons reasons = InvalidateGeometryReasons.PropertyChanged;
@@ -19,7 +19,8 @@
public override bool Release(T element) public override bool Release(T element)
{ {
lock (_lockObj) { lock (_lockObj)
{
return base.Release(element); return base.Release(element);
} }
} }