mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-05-06 16:16:44 +08:00
refactor(global): 统一项目全局命名空间引用
- 在GFramework.Game项目中添加暂停抽象接口的全局引用 - 在GFramework.Game项目中添加日志抽象接口的全局引用 - 从测试项目的UI路由交互测试文件中移除不必要的using声明 - 将测试项目的全局using声明统一到GlobalUsings.cs文件中 - 在GFramework.Godot项目中添加扩展方法的全局引用 - 优化全局命名空间引用的组织结构
This commit is contained in:
parent
053fd4a371
commit
f011f3158f
@ -16,4 +16,8 @@ global using Moq;
|
||||
global using System;
|
||||
global using System.Collections.Generic;
|
||||
global using System.Linq;
|
||||
global using System.Threading.Tasks;
|
||||
global using System.Threading.Tasks;
|
||||
global using System.Reflection;
|
||||
global using GFramework.Game.Abstractions.Enums;
|
||||
global using GFramework.Game.Abstractions.UI;
|
||||
global using GFramework.Game.UI;
|
||||
|
||||
@ -11,9 +11,6 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using System.Reflection;
|
||||
using GFramework.Game.UI;
|
||||
|
||||
namespace GFramework.Game.Tests.UI;
|
||||
|
||||
/// <summary>
|
||||
|
||||
@ -20,4 +20,5 @@ global using System.Threading.Tasks;
|
||||
global using System.Globalization;
|
||||
global using System.IO;
|
||||
global using System.Text.Json;
|
||||
global using YamlDotNet.RepresentationModel;
|
||||
global using YamlDotNet.RepresentationModel;
|
||||
global using GFramework.Core.Abstractions.Logging;
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
using GFramework.Core.Abstractions.Pause;
|
||||
using GFramework.Core.Extensions;
|
||||
using GFramework.Game.Abstractions.Enums;
|
||||
using GFramework.Game.Abstractions.UI;
|
||||
|
||||
@ -16,4 +16,5 @@ global using System.Collections.Generic;
|
||||
global using System.Linq;
|
||||
global using System.Threading;
|
||||
global using System.Threading.Tasks;
|
||||
global using Godot;
|
||||
global using Godot;
|
||||
global using GFramework.Godot.Extensions;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user