Automated dotnet-format update

This commit is contained in:
github-actions-dotnet-formatter[bot] 2024-07-27 13:34:52 +00:00
parent 51f07648ee
commit bc20a1977f
29 changed files with 35 additions and 35 deletions

View File

@ -1,4 +1,4 @@
using System.Globalization;
using System.Globalization;
using Avalonia;
using Avalonia.Controls.ApplicationLifetimes;
using Avalonia.Data.Core.Plugins;

View File

@ -1,4 +1,4 @@

namespace HandyControlDemo.Data;
public enum DemoType

View File

@ -1,4 +1,4 @@
namespace HandyControlDemo.Data;
namespace HandyControlDemo.Data;
public class MessageToken
{

View File

@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
namespace HandyControlDemo.Data;

View File

@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using CommunityToolkit.Mvvm.ComponentModel;
namespace HandyControlDemo.Data;

View File

@ -1,4 +1,4 @@
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.ComponentModel;
namespace HandyControlDemo.Data;

View File

@ -1,4 +1,4 @@
namespace HandyControl.Data;
namespace HandyControl.Data;
public class ResourceToken
{

View File

@ -1,4 +1,4 @@
using Avalonia.Controls;
using Avalonia.Controls;
using Avalonia.Interactivity;
using HandyControlDemo.UserControl;
using HandyControlDemo.ViewModel;

View File

@ -1,4 +1,4 @@
using System;
using System;
using Avalonia;
namespace HandyControlDemo;

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
@ -24,7 +24,7 @@ public class DataService
foreach (dynamic? item in jsonObj)
{
string? titleKey = (string) item.title;
string? titleKey = (string)item.title;
List<DemoItemModel> list = Convert2DemoItemList(item.demoItemList);
var demoInfoModel = new DemoInfoModel
@ -32,8 +32,8 @@ public class DataService
Key = titleKey,
Title = titleKey,
DemoItemList = list,
SelectedIndex = (int) item.selectedIndex,
IsGroupEnabled = (bool) item.group
SelectedIndex = (int)item.selectedIndex,
IsGroupEnabled = (bool)item.group
};
infoList.Add(demoInfoModel);
@ -69,11 +69,11 @@ public class DataService
foreach (dynamic? item in list)
{
string? name = (string) item[0];
string? name = (string)item[0];
string targetCtlName = item[1];
string imageBrushName = item[2];
bool isNew = !string.IsNullOrEmpty((string) item[3]);
string? groupName = (string) item[4];
bool isNew = !string.IsNullOrEmpty((string)item[3]);
string? groupName = (string)item[4];
if (string.IsNullOrEmpty(groupName))
{
groupName = "Misc";

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
namespace HandyControlDemo.Tools;

View File

@ -1,4 +1,4 @@
using Avalonia.Controls;
using Avalonia.Controls;
using CommunityToolkit.Mvvm.Messaging;
using HandyControlDemo.Data;

View File

@ -1,4 +1,4 @@
namespace HandyControlDemo.UserControl;
namespace HandyControlDemo.UserControl;
public partial class MainContent : Avalonia.Controls.UserControl
{

View File

@ -1,4 +1,4 @@
namespace HandyControlDemo.UserControl;
namespace HandyControlDemo.UserControl;
public partial class MainWindowContent : Avalonia.Controls.UserControl
{

View File

@ -1,4 +1,4 @@
namespace HandyControlDemo.UserControl;
namespace HandyControlDemo.UserControl;
public partial class BorderDemoCtl : Avalonia.Controls.UserControl
{

View File

@ -1,4 +1,4 @@
namespace HandyControlDemo.UserControl;
namespace HandyControlDemo.UserControl;
public partial class BrushDemoCtl : Avalonia.Controls.UserControl
{

View File

@ -1,4 +1,4 @@
namespace HandyControlDemo.UserControl;
namespace HandyControlDemo.UserControl;
public partial class ButtonDemoCtl : Avalonia.Controls.UserControl
{

View File

@ -1,4 +1,4 @@
namespace HandyControlDemo.UserControl;
namespace HandyControlDemo.UserControl;
public partial class RepeatButtonDemoCtl : Avalonia.Controls.UserControl
{

View File

@ -1,4 +1,4 @@
using System.Collections.Generic;
using System.Collections.Generic;
using CommunityToolkit.Mvvm.ComponentModel;
namespace HandyControlDemo.ViewModel;

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.ObjectModel;
using System.Linq;
using Avalonia.Threading;

View File

@ -1,4 +1,4 @@
using System;
using System;
using HandyControlDemo.Service;
using Microsoft.Extensions.DependencyInjection;

View File

@ -1,4 +1,4 @@
using System;
using System;
using Avalonia;
using Avalonia.Controls;
using Avalonia.Layout;

View File

@ -1,4 +1,4 @@
namespace HandyControl.Data;
namespace HandyControl.Data;
public enum VisualWrapping
{

View File

@ -1,4 +1,4 @@
using Avalonia;
using Avalonia;
using Avalonia.Layout;
namespace HandyControl.Data;

View File

@ -1,4 +1,4 @@
// ReSharper disable InconsistentNaming
// ReSharper disable InconsistentNaming
namespace HandyControl.Data;
public class ResourceToken

View File

@ -1,4 +1,4 @@
using Avalonia.Metadata;
using Avalonia.Metadata;
[assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Controls")]
[assembly: XmlnsDefinition("https://handyorg.github.io/handycontrol", "HandyControl.Tools")]

View File

@ -1,4 +1,4 @@
using System;
using System;
using Avalonia.Markup.Xaml;
using Avalonia.Styling;

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using Avalonia;

View File

@ -1,4 +1,4 @@
using Avalonia;
using Avalonia;
namespace HandyControl.Tools;