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

@@ -174,4 +174,4 @@ namespace HandyControlDemo.ViewModel
}
}
}
}
}
@@ -17,7 +17,7 @@ namespace HandyControlDemo.ViewModel
#if NET40
set => Set(nameof(Result), ref _result, value);
#else
set => Set(ref _result, value);
set => Set(ref _result, value);
#endif
}
@@ -6,4 +6,4 @@ namespace HandyControlDemo.ViewModel
{
public ComboBoxDemoViewModel(DataService dataService) => DataList = dataService.GetComboBoxDemoDataList();
}
}
}
@@ -7,4 +7,4 @@ namespace HandyControlDemo.ViewModel
{
public CoverViewModel(DataService dataService) => DataList = dataService.GetCoverViewDemoDataList();
}
}
}
@@ -87,4 +87,4 @@ namespace HandyControlDemo.ViewModel
public RelayCommand<string> ShowWithTokenCmd => new Lazy<RelayCommand<string>>(() =>
new RelayCommand<string>(token => Dialog.Show(new TextDialog(), token))).Value;
}
}
}
@@ -13,7 +13,7 @@ namespace HandyControlDemo.ViewModel
public GrowlDemoViewModel()
{
}
public GrowlDemoViewModel(string token)
@@ -113,4 +113,4 @@ namespace HandyControlDemo.ViewModel
Owner = Application.Current.MainWindow
}.Show())).Value;
}
}
}
@@ -10,4 +10,4 @@ namespace HandyControlDemo.ViewModel
new RelayCommand(() =>
new ImageBrowser(new Uri("pack://application:,,,/Resources/Img/1.jpg")).Show())).Value;
}
}
}
@@ -1,6 +1,6 @@
using GalaSoft.MvvmLight.Command;
using System;
using System;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls;
using HandyControl.Data;
using HandyControlDemo.UserControl;
@@ -94,7 +94,7 @@ namespace HandyControlDemo.ViewModel
}
public RelayCommand<object> MouseCmd => new Lazy<RelayCommand<object>>(() =>
new RelayCommand<object>(str=> Growl.Info(str.ToString()))).Value;
new RelayCommand<object>(str => Growl.Info(str.ToString()))).Value;
public RelayCommand SendNotificationCmd => new Lazy<RelayCommand>(() =>
new RelayCommand(SendNotification)).Value;
@@ -117,4 +117,4 @@ namespace HandyControlDemo.ViewModel
_isCleanup = false;
}
}
}
}
@@ -54,4 +54,4 @@ namespace HandyControlDemo.ViewModel
DataList = _totalDataList.Skip((info.Info - 1) * 10).Take(10).ToList();
}
}
}
}
@@ -15,4 +15,4 @@ namespace HandyControlDemo.ViewModel
Growl.Info(key);
}
}
}
}
@@ -1,8 +1,8 @@
using System;
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls;
using HandyControl.Data;
using GalaSoft.MvvmLight.Command;
namespace HandyControlDemo.ViewModel
{
@@ -18,4 +18,4 @@ namespace HandyControlDemo.ViewModel
private void Select(string header) => Growl.Success(header);
}
}
}
@@ -1,7 +1,7 @@
using System;
using GalaSoft.MvvmLight;
using HandyControl.Controls;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls;
namespace HandyControlDemo.ViewModel
{
@@ -1,13 +1,13 @@
using System;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls;
using HandyControlDemo.UserControl;
using GalaSoft.MvvmLight.Command;
namespace HandyControlDemo.ViewModel
{
public class SpriteDemoViewModel
{
public RelayCommand OpenCmd => new Lazy<RelayCommand>(() =>
new RelayCommand(()=> Sprite.Show(new AppSprite()))).Value;
new RelayCommand(() => Sprite.Show(new AppSprite()))).Value;
}
}
}
@@ -50,4 +50,4 @@ namespace HandyControlDemo.ViewModel
}
}
}
}
}
@@ -1,10 +1,10 @@
using System;
using System.Windows;
using GalaSoft.MvvmLight.Command;
using HandyControl.Controls;
using HandyControl.Data;
using HandyControlDemo.Data;
using HandyControlDemo.Service;
using GalaSoft.MvvmLight.Command;
namespace HandyControlDemo.ViewModel
{
@@ -28,4 +28,4 @@ namespace HandyControlDemo.ViewModel
Growl.Info($"{(args.OriginalSource as TabItem)?.Header} Closed");
}
}
}
}
@@ -47,4 +47,4 @@ namespace HandyControlDemo.ViewModel
TagName = string.Empty;
})).Value;
}
}
}
@@ -18,4 +18,4 @@ namespace HandyControlDemo.ViewModel
}
}
}
}
}
@@ -23,4 +23,4 @@ namespace HandyControlDemo.ViewModel
#endif
}
}
}
}
@@ -28,4 +28,4 @@ namespace HandyControlDemo.ViewModel
#endif
}
}
}
}
@@ -182,4 +182,4 @@ namespace HandyControlDemo.ViewModel
#endregion
}
}
}
@@ -36,4 +36,4 @@ namespace HandyControlDemo.ViewModel
#endif
}
}
}
}
@@ -102,4 +102,4 @@ namespace HandyControlDemo.ViewModel
#endregion
}
}
}