Skip to content

Commit

Permalink
+++
Browse files Browse the repository at this point in the history
  • Loading branch information
navylee0210 committed Jul 10, 2024
1 parent bf3d1f1 commit 80f11c9
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 61 deletions.
4 changes: 2 additions & 2 deletions Source/Providers/H.Mvvm/ViewModels/DisplayBindableBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public abstract class DisplayBindableBase : BindableBase, IDable
{
public DisplayBindableBase()
{
var type=this.GetType();
var type = this.GetType();
this.Name = type.Name;
DisplayAttribute display = type.GetCustomAttribute<DisplayAttribute>(true);
if (display != null)
Expand All @@ -29,7 +29,7 @@ public DisplayBindableBase()
}
IDAttribute id = type.GetCustomAttribute<IDAttribute>(true);
this.ID = id?.ID ?? type.Name;

System.Collections.Generic.IEnumerable<PropertyInfo> cmdps = type.GetProperties().Where(x => typeof(ICommand).IsAssignableFrom(x.PropertyType));
foreach (PropertyInfo cmdp in cmdps)
{
Expand Down
4 changes: 2 additions & 2 deletions Source/Services/H.Services.Common/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
global using H.Iocable;
global using H.Services.Logger;
global using System;
global using System.Collections;
global using System.Collections.Generic;
Expand All @@ -13,8 +15,6 @@
global using System.Windows.Input;
global using System.Windows.Markup;
global using System.Windows.Media;
global using H.Iocable;
global using H.Services.Logger;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
Expand Down
2 changes: 0 additions & 2 deletions Source/Services/H.Services.Common/Message/IocMessage.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright © 2024 By HeBianGu(QQ:908293466) https://github.com/HeBianGu/WPF-Control

using H.Services.Common;

namespace H.Services.Common
{
public static class IocMessage
Expand Down
3 changes: 1 addition & 2 deletions Source/Services/H.Services.Logger/Logger/LogCommand.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System;
namespace H.Services.Logger
namespace H.Services.Logger
{
public class LogCommand : IocMarkupCommandBase
{
Expand Down
13 changes: 0 additions & 13 deletions Source/Services/H.Services.Mail/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
global using System;
global using System.Collections;
global using System.Collections.Generic;
global using System.Collections.ObjectModel;
global using System.Linq;
global using System.Reflection;
global using System.Text;
global using System.Threading;
global using System.Threading.Tasks;
global using System.Windows;
global using System.Windows.Controls;
global using System.Windows.Controls.Primitives;
global using System.Windows.Input;
global using System.Windows.Markup;
global using System.Windows.Media;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
Expand Down
13 changes: 0 additions & 13 deletions Source/Services/H.Services.Operation/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
global using System;
global using System.Collections;
global using System.Collections.Generic;
global using System.Collections.ObjectModel;
global using System.Linq;
global using System.Reflection;
global using System.Text;
global using System.Threading;
global using System.Threading.Tasks;
global using System.Windows;
global using System.Windows.Controls;
global using System.Windows.Controls.Primitives;
global using System.Windows.Input;
global using System.Windows.Markup;
global using System.Windows.Media;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
Expand Down
14 changes: 1 addition & 13 deletions Source/Services/H.Services.Revertible/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
global using H.Iocable;
global using System;
global using System.Collections;
global using System.Collections.Generic;
global using System.Collections.ObjectModel;
global using System.Linq;
global using System.Reflection;
global using System.Text;
global using System.Threading;
global using System.Threading.Tasks;
global using System.Windows;
global using System.Windows.Controls;
global using System.Windows.Controls.Primitives;
global using System.Windows.Input;
global using System.Windows.Markup;
global using System.Windows.Media;
global using H.Iocable;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
Expand Down
16 changes: 2 additions & 14 deletions Source/Services/H.Services.Serializable/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
global using H.Iocable;
global using H.Services.Logger;
global using System;
global using System.Collections;
global using System.Collections.Generic;
global using System.Collections.ObjectModel;
global using System.Linq;
global using System.Reflection;
global using System.Text;
global using System.Threading;
global using System.Threading.Tasks;
global using System.Windows;
global using System.Windows.Controls;
global using System.Windows.Controls.Primitives;
global using System.Windows.Input;
global using System.Windows.Markup;
global using System.Windows.Media;
global using H.Iocable;
global using H.Services.Logger;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
Expand Down

0 comments on commit 80f11c9

Please sign in to comment.