mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
refactor(generator): 将GameContext类改为静态类
- 修改GameContext为静态类以符合设计要求 - 保持原有的架构上下文功能不变 - 优化类的访问方式和内存使用
This commit is contained in:
parent
0be919d8b1
commit
8a01178cc4
@ -58,7 +58,7 @@ public class ContextAwareGeneratorSnapshotTests
|
|||||||
namespace GFramework.Core.architecture
|
namespace GFramework.Core.architecture
|
||||||
{
|
{
|
||||||
using GFramework.Core.Abstractions.architecture;
|
using GFramework.Core.Abstractions.architecture;
|
||||||
public class GameContext{
|
public static class GameContext{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取字典中的第一个架构上下文
|
/// 获取字典中的第一个架构上下文
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user