From ff553977e3cc27b36b1752f8d17cb079c847b0c5 Mon Sep 17 00:00:00 2001 From: gewuyou <95328647+GeWuYou@users.noreply.github.com> Date: Sun, 3 May 2026 19:39:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore(license):=20=E8=A1=A5=E9=BD=90=20Apac?= =?UTF-8?q?he-2.0=20=E6=96=87=E4=BB=B6=E5=A4=B4=E6=B2=BB=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增许可证文件头检查与修复脚本 - 补充维护者手动修复 PR 工作流和 CI 校验 - 更新贡献指南中的文件头说明 - 补齐仓库维护源码和配置文件的许可证声明 --- .coderabbit.yaml | 3 + .feluda.yaml | 5 +- .github/ISSUE_TEMPLATE/01-bug-report.yml | 3 + .github/ISSUE_TEMPLATE/02-feature-request.yml | 3 + .github/ISSUE_TEMPLATE/03-documentation.yml | 3 + .github/ISSUE_TEMPLATE/04-question.yml | 3 + .github/ISSUE_TEMPLATE/config.yml | 3 + .github/actions/validate-pat/action.yml | 3 + .github/dependabot.yml | 3 + .github/workflows/auto-tag.yml | 3 + .github/workflows/ci.yml | 7 + .github/workflows/codeql.yml | 3 + .github/workflows/license-compliance.yml | 3 + .github/workflows/license-header-fix.yml | 51 ++++ .github/workflows/publish-docs.yml | 3 + .../workflows/publish-vscode-extension.yml | 3 + .github/workflows/publish.yml | 3 + .mega-linter.yml | 5 +- Directory.Build.props | 5 + Directory.Build.targets | 5 + .../ArchitectureModuleRegistry.cs | 3 + .../ArchitecturePhaseChangedEventArgs.cs | 3 + .../Architectures/IArchitecture.cs | 3 + .../IArchitectureConfiguration.cs | 5 +- .../Architectures/IArchitectureContext.cs | 3 + .../IArchitectureContextProvider.cs | 3 + .../IArchitectureLifecycleHook.cs | 5 +- .../Architectures/IArchitectureModule.cs | 5 +- .../IArchitecturePhaseListener.cs | 5 +- .../Architectures/IArchitectureServices.cs | 3 + .../Architectures/IServiceModule.cs | 3 + .../Architectures/IServiceModuleManager.cs | 3 + .../Bases/IKeyValue.cs | 5 +- .../Bases/IPrioritized.cs | 3 + .../Bases/PriorityGroup.cs | 3 + .../Command/IAsyncCommand.cs | 3 + .../Command/ICommand.cs | 3 + .../Command/ICommandExecutor.cs | 3 + .../Configuration/IConfigurationManager.cs | 3 + .../Controller/IController.cs | 5 +- .../Coroutine/CoroutineCompletionStatus.cs | 3 + .../Coroutine/CoroutineExecutionStage.cs | 3 + .../Coroutine/CoroutinePriority.cs | 3 + .../Coroutine/CoroutineState.cs | 5 +- .../Coroutine/ICoroutineStatistics.cs | 3 + .../Coroutine/ITimeSource.cs | 5 +- .../Coroutine/IYieldInstruction.cs | 5 +- .../Cqrs/ICqrsRuntime.cs | 3 + .../Directory.Build.props | 5 + .../Enums/ArchitecturePhase.cs | 5 +- .../Environment/IEnvironment.cs | 5 +- .../Events/EventContext.cs | 3 + .../Events/EventPropagation.cs | 3 + GFramework.Core.Abstractions/Events/IEvent.cs | 5 +- .../Events/IEventBus.cs | 5 +- .../Events/IEventFilter.cs | 3 + .../Events/IEventStatistics.cs | 3 + .../Events/IUnRegister.cs | 5 +- .../Events/IUnRegisterList.cs | 5 +- .../GFramework.Core.Abstractions.csproj | 7 +- .../Internals/IsExternalInit.cs | 5 +- .../Ioc/IIocContainer.cs | 5 +- .../Lifecycle/IAsyncDestroyable.cs | 3 + .../Lifecycle/IAsyncInitializable.cs | 3 + .../Lifecycle/IAsyncLifecycle.cs | 3 + .../Lifecycle/IDestroyable.cs | 5 +- .../Lifecycle/IInitializable.cs | 5 +- .../Lifecycle/ILifecycle.cs | 5 +- .../Localization/ILocalizationFormatter.cs | 3 + .../Localization/ILocalizationManager.cs | 3 + .../Localization/ILocalizationString.cs | 3 + .../Localization/ILocalizationTable.cs | 3 + .../Localization/LocalizationConfig.cs | 3 + .../Localization/LocalizationException.cs | 3 + .../LocalizationKeyNotFoundException.cs | 3 + .../LocalizationTableNotFoundException.cs | 3 + .../AsyncLogFlushCompletedEventArgs.cs | 3 + .../Logging/ILogAppender.cs | 3 + .../Logging/ILogFilter.cs | 3 + .../Logging/ILogFormatter.cs | 3 + .../Logging/ILogger.cs | 5 +- .../Logging/ILoggerFactory.cs | 5 +- .../Logging/ILoggerFactoryProvider.cs | 5 +- .../Logging/IStructuredLogger.cs | 3 + .../Logging/LogContext.cs | 3 + .../Logging/LogEntry.cs | 3 + .../Logging/LogLevel.cs | 5 +- .../Logging/LoggerFactoryResolver.cs | 3 + GFramework.Core.Abstractions/Model/IModel.cs | 5 +- .../Pause/IPauseHandler.cs | 3 + .../Pause/IPauseStackManager.cs | 3 + .../Pause/PauseGroup.cs | 3 + .../Pause/PauseStateChangedEventArgs.cs | 3 + .../Pause/PauseToken.cs | 3 + .../Pool/IObjectPoolSystem.cs | 5 +- .../Pool/IPoolableObject.cs | 5 +- .../Pool/PoolStatistics.cs | 3 + .../Properties/ArchitectureProperties.cs | 3 + .../Properties/LoggerProperties.cs | 5 +- .../Property/IBindableProperty.cs | 5 +- .../Property/IReadonlyBindableProperty.cs | 3 + .../Query/IAsyncQuery.cs | 5 +- .../Query/IAsyncQueryExecutor.cs | 5 +- GFramework.Core.Abstractions/Query/IQuery.cs | 3 + .../Query/IQueryExecutor.cs | 5 +- .../Registries/IRegistry.cs | 5 +- .../Registries/KeyValueRegistryBase.cs | 5 +- .../Resource/IResourceHandle.cs | 3 + .../Resource/IResourceLoader.cs | 3 + .../Resource/IResourceManager.cs | 3 + .../Resource/IResourceReleaseStrategy.cs | 3 + .../Rule/IContextAware.cs | 5 +- .../Rule/ILogAware.cs | 5 +- .../Serializer/ISerializer.cs | 5 +- GFramework.Core.Abstractions/State/IState.cs | 5 +- .../State/IStateMachine.cs | 3 + .../State/IStateMachineSystem.cs | 5 +- .../StateManagement/IReadonlyStore.cs | 3 + .../StateManagement/IReducer.cs | 3 + .../StateManagement/IStateSelector.cs | 3 + .../StateManagement/IStore.cs | 3 + .../StateManagement/IStoreBuilder.cs | 3 + .../StateManagement/IStoreDiagnostics.cs | 3 + .../StateManagement/IStoreMiddleware.cs | 3 + .../StoreActionMatchingMode.cs | 3 + .../StateManagement/StoreDispatchContext.cs | 3 + .../StateManagement/StoreDispatchRecord.cs | 3 + .../StateManagement/StoreHistoryEntry.cs | 3 + .../Storage/IStorage.cs | 5 +- .../Systems/ISystem.cs | 3 + .../Time/ITimeProvider.cs | 3 + .../Utility/IContextUtility.cs | 5 +- .../Utility/IUtility.cs | 5 +- .../Numeric/INumericDisplayFormatter.cs | 3 + .../Utility/Numeric/INumericFormatRule.cs | 3 + .../Utility/Numeric/NumericDisplayStyle.cs | 3 + .../Utility/Numeric/NumericFormatOptions.cs | 3 + .../Utility/Numeric/NumericSuffixThreshold.cs | 3 + .../AutoRegisterModuleAttribute.cs | 3 + .../Architectures/RegisterModelAttribute.cs | 3 + .../Architectures/RegisterSystemAttribute.cs | 3 + .../Architectures/RegisterUtilityAttribute.cs | 3 + .../Bases/PriorityAttribute.cs | 3 + .../Directory.Build.props | 5 + .../Enums/GenerateEnumExtensionsAttribute.cs | 5 +- ....Core.SourceGenerators.Abstractions.csproj | 7 +- .../Logging/LogAttribute.cs | 3 + .../Rule/ContextAwareAttribute.cs | 5 +- .../Rule/GetAllAttribute.cs | 3 + .../Rule/GetModelAttribute.cs | 3 + .../Rule/GetModelsAttribute.cs | 3 + .../Rule/GetServiceAttribute.cs | 3 + .../Rule/GetServicesAttribute.cs | 3 + .../Rule/GetSystemAttribute.cs | 3 + .../Rule/GetSystemsAttribute.cs | 3 + .../Rule/GetUtilitiesAttribute.cs | 3 + .../Rule/GetUtilityAttribute.cs | 3 + .../Analyzers/ContextRegistrationAnalyzer.cs | 3 + .../Analyzers/PriorityUsageAnalyzer.cs | 3 + .../AutoRegisterModuleGenerator.cs | 3 + .../Bases/PriorityGenerator.cs | 3 + .../AutoRegisterModuleDiagnostics.cs | 3 + .../Diagnostics/ContextAwareDiagnostic.cs | 5 +- .../Diagnostics/ContextGetDiagnostics.cs | 3 + .../ContextRegistrationDiagnostics.cs | 3 + .../Diagnostics/LoggerDiagnostics.cs | 5 +- .../Diagnostics/PriorityDiagnostic.cs | 3 + .../Enums/EnumExtensionsGenerator.cs | 5 +- .../GFramework.Core.SourceGenerators.csproj | 7 +- ...u.GFramework.Core.SourceGenerators.targets | 5 + .../Logging/LoggerGenerator.cs | 5 +- .../Rule/ContextAwareGenerator.cs | 5 +- .../Rule/ContextGetGenerator.cs | 3 + .../AdditionalAssemblyNotification.cs | 3 + ...onalAssemblyNotificationHandlerRegistry.cs | 3 + ...itionalAssemblyNotificationHandlerState.cs | 3 + .../AnotherTestArchitectureContext.cs | 3 + ...ArchitectureAdditionalCqrsHandlersTests.cs | 3 + ...hitectureComponentRegistryBehaviorTests.cs | 3 + .../ArchitectureConfigurationTests.cs | 3 + .../ArchitectureConstantsTests.cs | 3 + .../Architectures/ArchitectureContextTests.cs | 3 + ...ArchitectureInitializationPipelineTests.cs | 3 + .../ArchitectureLifecycleBehaviorTests.cs | 3 + .../ArchitectureModulesBehaviorTests.cs | 3 + .../ArchitectureServicesTests.cs | 3 + .../Architectures/AsyncTestArchitecture.cs | 5 +- .../Architectures/ContextProviderTests.cs | 3 + .../Architectures/GameContextTests.cs | 3 + .../Architectures/IMixedTestSystem.cs | 3 + .../Architectures/IPriorityTestModel.cs | 3 + .../Architectures/IPriorityTestSystem.cs | 3 + .../Architectures/IPriorityTestUtility.cs | 3 + .../MixedTestSystemNegativePriority.cs | 3 + .../MixedTestSystemWithPriority.cs | 3 + .../MixedTestSystemWithoutPriority.cs | 3 + .../Architectures/ModuleBehaviorRequest.cs | 3 + .../ModuleBehaviorRequestHandler.cs | 3 + .../Architectures/PriorityServiceTests.cs | 3 + .../Architectures/PriorityTestModelA.cs | 3 + .../Architectures/PriorityTestModelB.cs | 3 + .../Architectures/PriorityTestModelC.cs | 3 + .../Architectures/PriorityTestSystemA.cs | 3 + .../Architectures/PriorityTestSystemB.cs | 3 + .../Architectures/PriorityTestSystemC.cs | 3 + .../Architectures/PriorityTestUtilityA.cs | 3 + .../Architectures/PriorityTestUtilityB.cs | 3 + .../Architectures/PriorityTestUtilityC.cs | 3 + .../RegistryInitializationHookBaseTests.cs | 3 + .../Architectures/SyncTestArchitecture.cs | 5 +- .../Architectures/TestArchitecture.cs | 3 + .../Architectures/TestArchitectureBase.cs | 5 +- .../Architectures/TestArchitectureContext.cs | 3 + .../TestArchitectureContextBase.cs | 3 + .../TestArchitectureContextBehaviorTests.cs | 3 + .../TestArchitectureContextV3.cs | 3 + .../TestArchitectureContextWithRegistry.cs | 3 + .../TestArchitectureWithRegistry.cs | 3 + .../TestArchitectureWithoutRegistry.cs | 3 + .../Architectures/TestCommandV2.cs | 3 + .../Architectures/TestCommandWithResultV2.cs | 3 + .../Architectures/TestEventV2.cs | 3 + .../Architectures/TestModelV2.cs | 3 + .../Architectures/TestQueryV2.cs | 3 + .../Architectures/TestRegistry.cs | 3 + .../TestRegistryInitializationHook.cs | 3 + .../Architectures/TestSystemV2.cs | 3 + .../Architectures/TestUtilityV2.cs | 3 + .../Architectures/TrackingPipelineBehavior.cs | 3 + .../Command/AbstractAsyncCommandTests.cs | 3 + .../Command/CommandExecutorTests.cs | 3 + .../Command/TestAsyncCommand.cs | 3 + .../Command/TestAsyncCommandChildV3.cs | 3 + .../Command/TestAsyncCommandV3.cs | 3 + .../TestAsyncCommandWithExceptionV3.cs | 3 + .../Command/TestAsyncCommandWithResult.cs | 3 + .../TestAsyncCommandWithResultChildV3.cs | 3 + .../Command/TestAsyncCommandWithResultV3.cs | 3 + GFramework.Core.Tests/Command/TestCommand.cs | 3 + .../Command/TestCommandInput.cs | 3 + .../Command/TestCommandInputV2.cs | 3 + .../Command/TestCommandWithResult.cs | 3 + .../ConfigurationManagerTests.cs | 3 + .../Constants/GFrameworkConstantsTests.cs | 3 + .../Coroutine/AsyncOperationTests.cs | 3 + .../CommandCoroutineExtensionsTests.cs | 3 + .../Coroutine/ComplexQuery.cs | 3 + .../Coroutine/ComplexResult.cs | 3 + .../CoroutineComposeExtensionsTests.cs | 3 + .../Coroutine/CoroutineExtensionsTests.cs | 3 + .../Coroutine/CoroutineGroupTests.cs | 3 + .../Coroutine/CoroutineHandleTests.cs | 3 + .../Coroutine/CoroutineHelperTests.cs | 3 + .../Coroutine/CoroutinePriorityTests.cs | 3 + .../CoroutineSchedulerAdvancedTests.cs | 3 + .../Coroutine/CoroutineSchedulerTests.cs | 3 + .../Coroutine/CoroutineStateTests.cs | 3 + .../Coroutine/CoroutineStatisticsTests.cs | 3 + GFramework.Core.Tests/Coroutine/DelayTests.cs | 3 + .../Coroutine/FakeTimeSource.cs | 3 + GFramework.Core.Tests/Coroutine/IntQuery.cs | 3 + .../QueryCoroutineExtensionsTests.cs | 3 + .../Coroutine/TaskCoroutineExtensionsTests.cs | 3 + .../Coroutine/TestTimeSource.cs | 3 + .../Coroutine/WaitForAllCoroutinesTests.cs | 3 + .../Coroutine/WaitForConditionChangeTests.cs | 3 + .../Coroutine/WaitForCoroutineTests.cs | 3 + .../Coroutine/WaitForEndOfFrameTests.cs | 3 + .../Coroutine/WaitForEventTests.cs | 3 + .../Coroutine/WaitForEventWithTimeoutTests.cs | 3 + .../Coroutine/WaitForFixedUpdateTests.cs | 3 + .../Coroutine/WaitForFramesTests.cs | 3 + .../Coroutine/WaitForMultipleEventsTests.cs | 3 + .../Coroutine/WaitForNextFrameTests.cs | 3 + .../Coroutine/WaitForPredicateTests.cs | 3 + .../Coroutine/WaitForProgressTests.cs | 3 + .../Coroutine/WaitForSecondsRealtimeTests.cs | 3 + .../Coroutine/WaitForSecondsScaledTests.cs | 3 + .../Coroutine/WaitForTaskTTests.cs | 3 + .../Coroutine/WaitForTaskTests.cs | 3 + .../Coroutine/WaitOneFrameTests.cs | 3 + .../Coroutine/WaitUntilOrTimeoutTests.cs | 3 + .../Coroutine/WaitUntilTests.cs | 3 + .../Coroutine/WaitWhileTests.cs | 3 + .../Coroutine/YieldInstructionTests.cs | 3 + .../CqrsPublicNamespaceCompatibilityTests.cs | 3 + .../Environment/EnvironmentTests.cs | 3 + .../Environment/TestEnvironment.cs | 3 + .../Events/EasyEventsTests.cs | 3 + GFramework.Core.Tests/Events/EmptyEvent.cs | 3 + .../Events/EventBusPriorityTests.cs | 3 + GFramework.Core.Tests/Events/EventBusTests.cs | 3 + .../Events/EventBusTestsEvent.cs | 3 + .../Events/EventFilterTests.cs | 3 + .../Events/EventListenerScopeTests.cs | 3 + .../Events/EventStatisticsTests.cs | 3 + GFramework.Core.Tests/Events/EventTests.cs | 3 + GFramework.Core.Tests/Events/OrEventTests.cs | 3 + .../Events/PriorityEventTests.cs | 3 + GFramework.Core.Tests/Events/TestEvent.cs | 5 +- .../Events/UnRegisterTests.cs | 3 + .../Events/WeakEventTests.cs | 3 + .../Extensions/ArrayExtensionsTests.cs | 3 + .../Extensions/ArrayPoolExtensionsTests.cs | 3 + .../Extensions/AsyncExtensionsTests.cs | 3 + .../Extensions/CollectionExtensionsTests.cs | 3 + .../Extensions/GuardExtensionsTests.cs | 3 + .../Extensions/NumericExtensionsTests.cs | 3 + .../Extensions/ObjectExtensionsTests.cs | 3 + .../Extensions/SpanExtensionsTests.cs | 3 + .../Extensions/StringExtensionsTests.cs | 3 + GFramework.Core.Tests/Extensions/TestClass.cs | 3 + .../Extensions/TestUnRegisterList.cs | 3 + .../UnRegisterListExtensionTests.cs | 3 + .../Control/ControlExtensionsTests.cs | 3 + .../Functions/FunctionExtensionsTests.cs | 3 + .../Functional/Pipe/PipeExtensionsTests.cs | 3 + .../GFramework.Core.Tests.csproj | 7 +- .../Ioc/AliasAwareService.cs | 3 + GFramework.Core.Tests/Ioc/IMixedService.cs | 3 + .../Ioc/IPrimaryAliasService.cs | 3 + .../Ioc/IPrioritizedService.cs | 3 + .../Ioc/ISecondaryAliasService.cs | 3 + GFramework.Core.Tests/Ioc/IService.cs | 3 + .../Ioc/ISharedAliasService.cs | 3 + .../Ioc/IocContainerLifetimeTests.cs | 3 + .../Ioc/MicrosoftDiContainerTests.cs | 3 + .../Ioc/NonPrioritizedService.cs | 3 + .../Ioc/PrioritizedService.cs | 3 + GFramework.Core.Tests/Ioc/TestService.cs | 3 + .../LocalizationIntegrationTests.cs | 3 + .../Localization/LocalizationTableTests.cs | 3 + .../Logging/AsyncLogAppenderTests.cs | 3 + .../Logging/CachedLoggerFactoryTests.cs | 3 + .../Logging/CompositeFilterTests.cs | 3 + .../Logging/CompositeLoggerTests.cs | 3 + .../Logging/ConfigurableLoggerFactoryTests.cs | 3 + .../Logging/ConsoleAppenderTests.cs | 3 + .../Logging/ConsoleLoggerTests.cs | 3 + .../Logging/DefaultLogFormatterTests.cs | 3 + .../Logging/FileAppenderTests.cs | 3 + .../Logging/JsonLogFormatterTests.cs | 3 + .../Logging/LogContextTests.cs | 3 + .../Logging/LogEntryTests.cs | 3 + .../Logging/LogLevelFilterTests.cs | 3 + .../Logging/LoggerFactoryTests.cs | 3 + GFramework.Core.Tests/Logging/LoggerTests.cs | 3 + .../Logging/LoggingConfigurationTests.cs | 3 + .../Logging/NamespaceFilterTests.cs | 3 + .../Logging/RollingFileAppenderTests.cs | 3 + .../Logging/SamplingFilterTests.cs | 3 + .../Logging/StatisticsAppenderTests.cs | 3 + GFramework.Core.Tests/Logging/TestLogger.cs | 3 + GFramework.Core.Tests/Model/AsyncTestModel.cs | 3 + GFramework.Core.Tests/Model/FailingModel.cs | 5 +- GFramework.Core.Tests/Model/ITestModel.cs | 5 +- GFramework.Core.Tests/Model/TestModel.cs | 3 + .../TransitiveGlobalUsingsPackagingTests.cs | 3 + .../Pause/PauseStackManagerTests.cs | 3 + GFramework.Core.Tests/Pool/ObjectPoolTests.cs | 3 + .../Pool/StringBuilderPoolTests.cs | 3 + GFramework.Core.Tests/Pool/TestObjectPool.cs | 3 + .../Pool/TestPoolableObject.cs | 3 + .../Property/BindablePropertyTests.cs | 3 + .../Query/AbstractAsyncQueryTests.cs | 3 + .../Query/AsyncQueryExecutorTests.cs | 3 + .../Query/QueryExecutorTests.cs | 3 + .../Query/TestAsyncBooleanQuery.cs | 3 + .../Query/TestAsyncComplexQuery.cs | 3 + .../Query/TestAsyncComplexQueryV4.cs | 3 + GFramework.Core.Tests/Query/TestAsyncQuery.cs | 3 + .../Query/TestAsyncQueryChildV4.cs | 3 + .../Query/TestAsyncQueryInput.cs | 3 + .../Query/TestAsyncQueryInputV2.cs | 3 + .../Query/TestAsyncQueryResult.cs | 3 + .../Query/TestAsyncQueryResultV2.cs | 3 + .../Query/TestAsyncQueryV4.cs | 3 + .../Query/TestAsyncQueryWithException.cs | 3 + .../Query/TestAsyncQueryWithExceptionV4.cs | 3 + .../Query/TestAsyncStringQuery.cs | 3 + .../Query/TestAsyncStringQueryV4.cs | 3 + GFramework.Core.Tests/Query/TestQuery.cs | 3 + GFramework.Core.Tests/Query/TestQueryInput.cs | 3 + .../Query/TestStringQuery.cs | 3 + .../Resource/ResourceManagerTests.cs | 3 + .../Resource/TestResource.cs | 3 + .../Resource/TestResourceLoader.cs | 3 + .../ContextAwareEnvironmentExtensionsTests.cs | 3 + .../Rule/ContextAwareEventExtensionsTests.cs | 3 + .../ContextAwareServiceExtensionsTests.cs | 3 + .../Rule/ContextAwareTests.cs | 3 + .../Rule/TestContextAware.cs | 3 + .../State/ConcreteAsyncStateV2.cs | 3 + .../State/ConcreteStateV2.cs | 3 + .../State/ConcreteStateV3.cs | 3 + .../State/ConcreteStateV4.cs | 3 + .../State/ConditionalStateV2.cs | 3 + .../State/StateMachineExtensions.cs | 3 + .../State/StateMachineSystemTests.cs | 3 + .../State/StateMachineTests.cs | 3 + GFramework.Core.Tests/State/StateTests.cs | 3 + GFramework.Core.Tests/State/TestAsyncState.cs | 3 + .../State/TestContextAwareStateV5.cs | 3 + .../State/TestContextAwareStateV5_2.cs | 3 + .../State/TestStateMachineSystemV5.cs | 3 + GFramework.Core.Tests/State/TestStateV2.cs | 3 + GFramework.Core.Tests/State/TestStateV3.cs | 3 + GFramework.Core.Tests/State/TestStateV4.cs | 3 + GFramework.Core.Tests/State/TestStateV5.cs | 3 + GFramework.Core.Tests/State/TestStateV5_2.cs | 3 + .../State/TrackingStateV2.cs | 3 + .../StoreEventBusExtensionsTests.cs | 3 + .../StateManagement/StoreTests.cs | 3 + .../Systems/AsyncTestSystem.cs | 5 +- GFramework.Core.Tests/Systems/TestSystem.cs | 5 +- .../Tests/ArchitectureTestsBase.cs | 5 +- .../Tests/AsyncArchitectureTests.cs | 3 + .../Tests/SyncArchitectureTests.cs | 3 + .../Time/FakeTimeProvider.cs | 3 + .../Utility/AbstractContextUtilityTests.cs | 3 + .../Utility/NumericDisplayFormatterTests.cs | 3 + .../Utility/TestContextUtilityV1.cs | 3 + .../Utility/TestContextUtilityV2.cs | 3 + GFramework.Core/Architectures/Architecture.cs | 3 + .../Architectures/ArchitectureBootstrapper.cs | 3 + .../ArchitectureComponentActivator.cs | 3 + .../ArchitectureComponentRegistry.cs | 3 + .../ArchitectureConfiguration.cs | 5 +- .../Architectures/ArchitectureConstants.cs | 3 + .../Architectures/ArchitectureContext.cs | 3 + .../Architectures/ArchitectureDisposer.cs | 3 + .../Architectures/ArchitectureLifecycle.cs | 3 + .../Architectures/ArchitectureModules.cs | 3 + .../ArchitecturePhaseCoordinator.cs | 3 + .../Architectures/ArchitectureServices.cs | 3 + GFramework.Core/Architectures/GameContext.cs | 5 +- .../Architectures/GameContextProvider.cs | 3 + .../RegistryInitializationHookBase.cs | 3 + .../Architectures/ScopedContextProvider.cs | 3 + .../Command/AbstractAsyncCommand.cs | 3 + GFramework.Core/Command/AbstractCommand.cs | 5 +- GFramework.Core/Command/CommandExecutor.cs | 3 + GFramework.Core/Command/EmptyCommandInput.cs | 3 + .../Configuration/ConfigWatcherUnRegister.cs | 3 + .../Configuration/ConfigurationManager.cs | 3 + .../Constants/GFrameworkConstants.cs | 5 +- .../Coroutine/CoroutineExceptionEventArgs.cs | 3 + .../Coroutine/CoroutineFinishedEventArgs.cs | 3 + GFramework.Core/Coroutine/CoroutineHandle.cs | 5 +- GFramework.Core/Coroutine/CoroutineHelper.cs | 3 + .../Coroutine/CoroutineMetadata.cs | 5 +- .../Coroutine/CoroutineScheduler.cs | 3 + GFramework.Core/Coroutine/CoroutineSlot.cs | 5 +- .../Coroutine/CoroutineSnapshot.cs | 3 + .../Coroutine/CoroutineStatistics.cs | 3 + .../Extensions/CoroutineExtensions.cs | 3 + .../Extensions/CqrsCoroutineExtensions.cs | 3 + .../Extensions/TaskCoroutineExtensions.cs | 3 + .../Coroutine/Instructions/AsyncOperation.cs | 3 + .../Coroutine/Instructions/Delay.cs | 5 +- .../Instructions/WaitForAllCoroutines.cs | 5 +- .../Instructions/WaitForConditionChange.cs | 3 + .../Instructions/WaitForCoroutine.cs | 5 +- .../Instructions/WaitForEndOfFrame.cs | 3 + .../Instructions/WaitForFixedUpdate.cs | 3 + .../Coroutine/Instructions/WaitForFrames.cs | 5 +- .../Instructions/WaitForMultipleEvents.cs | 3 + .../Instructions/WaitForNextFrame.cs | 3 + .../Instructions/WaitForPredicate.cs | 3 + .../Coroutine/Instructions/WaitForProgress.cs | 3 + .../Instructions/WaitForSecondsRealtime.cs | 3 + .../Instructions/WaitForSecondsScaled.cs | 3 + .../Coroutine/Instructions/WaitForTask.T.cs | 3 + .../Coroutine/Instructions/WaitForTask.cs | 3 + .../Coroutine/Instructions/WaitOneFrame.cs | 5 +- .../Coroutine/Instructions/WaitUntil.cs | 5 +- .../Instructions/WaitUntilOrTimeout.cs | 3 + .../Coroutine/Instructions/WaitWhile.cs | 5 +- .../Environment/DefaultEnvironment.cs | 5 +- .../Environment/EnvironmentBase.cs | 5 +- GFramework.Core/Events/DefaultUnRegister.cs | 5 +- GFramework.Core/Events/EasyEvent.cs | 5 +- GFramework.Core/Events/EasyEvents.cs | 3 + GFramework.Core/Events/EnhancedEventBus.cs | 3 + GFramework.Core/Events/Event.cs | 5 +- GFramework.Core/Events/EventBus.cs | 5 +- GFramework.Core/Events/EventStatistics.cs | 3 + GFramework.Core/Events/FilterableEvent.cs | 3 + .../Events/Filters/PredicateEventFilter.cs | 3 + .../Events/Filters/SamplingEventFilter.cs | 3 + GFramework.Core/Events/OrEvent.cs | 3 + GFramework.Core/Events/PriorityEvent.cs | 3 + .../Events/StatisticsEventDecorator.cs | 3 + GFramework.Core/Events/UnRegisterList.cs | 5 +- GFramework.Core/Events/WeakEvent.cs | 3 + .../Extensions/ArrayPoolExtensions.cs | 3 + GFramework.Core/Extensions/AsyncExtensions.cs | 3 + .../Extensions/CollectionExtensions.cs | 3 + .../ContextAwareCommandExtensions.cs | 3 + .../ContextAwareEnvironmentExtensions.cs | 3 + .../Extensions/ContextAwareEventExtensions.cs | 3 + .../Extensions/ContextAwareQueryExtensions.cs | 3 + .../ContextAwareServiceExtensions.cs | 3 + GFramework.Core/Extensions/GuardExtensions.cs | 3 + .../Extensions/NumericDisplayExtensions.cs | 3 + .../Extensions/NumericExtensions.cs | 3 + .../Extensions/ObjectExtensions.cs | 5 +- .../Extensions/OrEventExtensions.cs | 5 +- GFramework.Core/Extensions/SpanExtensions.cs | 3 + .../Extensions/StoreEventBusExtensions.cs | 3 + GFramework.Core/Extensions/StoreExtensions.cs | 3 + .../Extensions/StringExtensions.cs | 3 + .../Extensions/UnRegisterListExtension.cs | 5 +- GFramework.Core/GFramework.Core.csproj | 7 +- GFramework.Core/Ioc/MicrosoftDiContainer.cs | 3 + .../CompactNumberLocalizationFormatter.cs | 3 + .../Formatters/ConditionalFormatter.cs | 3 + .../Formatters/PluralFormatter.cs | 3 + .../Localization/LocalizationManager.cs | 3 + .../Localization/LocalizationString.cs | 3 + .../Localization/LocalizationTable.cs | 3 + GFramework.Core/Logging/AbstractLogger.cs | 5 +- .../Logging/AppenderConfiguration.cs | 3 + .../Logging/Appenders/AsyncLogAppender.cs | 3 + .../Logging/Appenders/ConsoleAppender.cs | 3 + .../Logging/Appenders/FileAppender.cs | 3 + .../Logging/Appenders/RollingFileAppender.cs | 3 + .../Logging/Appenders/StatisticsAppender.cs | 3 + .../Logging/CachedLoggerFactory.cs | 3 + GFramework.Core/Logging/CompositeLogger.cs | 3 + .../Logging/ConfigurableLoggerFactory.cs | 3 + GFramework.Core/Logging/ConsoleLogger.cs | 3 + .../Logging/ConsoleLoggerFactory.cs | 5 +- .../Logging/ConsoleLoggerFactoryProvider.cs | 5 +- .../Logging/FilterConfiguration.cs | 3 + .../Logging/Filters/CompositeFilter.cs | 3 + .../Logging/Filters/LogLevelFilter.cs | 3 + .../Logging/Filters/NamespaceFilter.cs | 3 + .../Logging/Filters/SamplingFilter.cs | 3 + .../Logging/Formatters/DefaultLogFormatter.cs | 3 + .../Logging/Formatters/JsonLogFormatter.cs | 3 + .../Logging/LoggingConfiguration.cs | 3 + .../Logging/LoggingConfigurationLoader.cs | 3 + GFramework.Core/Model/AbstractModel.cs | 5 +- GFramework.Core/Pause/PauseEntry.cs | 3 + GFramework.Core/Pause/PauseScope.cs | 3 + GFramework.Core/Pause/PauseStackManager.cs | 3 + .../Pool/AbstractObjectPoolSystem.cs | 5 +- GFramework.Core/Pool/StringBuilderPool.cs | 3 + GFramework.Core/Properties/TypeForwarders.cs | 3 + GFramework.Core/Property/BindableProperty.cs | 3 + .../Property/BindablePropertyUnRegister.cs | 3 + GFramework.Core/Query/AbstractAsyncQuery.cs | 5 +- GFramework.Core/Query/AbstractQuery.cs | 3 + GFramework.Core/Query/AsyncQueryExecutor.cs | 5 +- GFramework.Core/Query/EmptyQueryInput.cs | 5 +- GFramework.Core/Query/QueryExecutor.cs | 5 +- .../Resource/AutoReleaseStrategy.cs | 3 + .../Resource/ManualReleaseStrategy.cs | 3 + GFramework.Core/Resource/ResourceCache.cs | 3 + .../Resource/ResourceCacheEntry.cs | 3 + GFramework.Core/Resource/ResourceHandle.cs | 3 + GFramework.Core/Resource/ResourceManager.cs | 3 + GFramework.Core/Rule/ContextAwareBase.cs | 5 +- .../Modules/AsyncQueryExecutorModule.cs | 3 + .../Services/Modules/CommandExecutorModule.cs | 3 + .../Services/Modules/CqrsRuntimeModule.cs | 3 + .../Services/Modules/EventBusModule.cs | 3 + .../Services/Modules/QueryExecutorModule.cs | 3 + .../Services/ServiceModuleManager.cs | 3 + .../State/ContextAwareStateBase.cs | 5 +- GFramework.Core/State/StateChangedEvent.cs | 5 +- GFramework.Core/State/StateMachine.cs | 3 + GFramework.Core/State/StateMachineSystem.cs | 3 + GFramework.Core/StateManagement/Store.cs | 3 + .../StateManagement/StoreBuilder.cs | 3 + .../StateManagement/StoreDispatchedEvent.cs | 3 + .../StateManagement/StoreSelection.cs | 3 + .../StateManagement/StoreStateChangedEvent.cs | 3 + GFramework.Core/Systems/AbstractSystem.cs | 3 + GFramework.Core/Time/SystemTimeProvider.cs | 3 + .../Utility/AbstractContextUtility.cs | 5 +- .../Utility/Numeric/NumericDisplay.cs | 3 + .../Numeric/NumericDisplayFormatter.cs | 3 + .../Numeric/NumericSuffixFormatRule.cs | 3 + .../Cqrs/Command/ICommand.cs | 3 + .../Cqrs/Command/ICommandInput.cs | 5 +- .../Cqrs/ICqrsContext.cs | 3 + .../Cqrs/ICqrsHandlerRegistrar.cs | 3 + .../Cqrs/ICqrsRuntime.cs | 3 + .../Cqrs/INotification.cs | 3 + .../Cqrs/INotificationHandler.cs | 3 + .../Cqrs/IPipelineBehavior.cs | 3 + GFramework.Cqrs.Abstractions/Cqrs/IRequest.cs | 3 + .../Cqrs/IRequestHandler.cs | 3 + .../Cqrs/IStreamRequest.cs | 3 + .../Cqrs/IStreamRequestHandler.cs | 3 + .../Cqrs/MessageHandlerDelegate.cs | 3 + .../Cqrs/Query/IQuery.cs | 3 + .../Cqrs/Query/IQueryInput.cs | 5 +- GFramework.Cqrs.Abstractions/Cqrs/Unit.cs | 3 + .../Directory.Build.props | 5 + .../GFramework.Cqrs.Abstractions.csproj | 5 + GFramework.Cqrs.Abstractions/GlobalUsings.cs | 3 + .../CqrsHandlerRegistryGenerator.Models.cs | 3 + ...RegistryGenerator.RuntimeTypeReferences.cs | 3 + ...HandlerRegistryGenerator.SourceEmission.cs | 3 + .../Cqrs/CqrsHandlerRegistryGenerator.cs | 3 + .../GFramework.Cqrs.SourceGenerators.csproj | 5 + .../GlobalUsings.cs | 3 + .../Cqrs/AbstractCqrsHandlerContextTests.cs | 3 + .../AlphaDeterministicNotificationHandler.cs | 3 + .../ArchitectureContextComprehensiveTests.cs | 3 + .../Cqrs/CapturingLoggerFactoryProvider.cs | 3 + ...rchitectureContextAdvancedFeaturesTests.cs | 3 + ...CqrsArchitectureContextIntegrationTests.cs | 3 + .../Cqrs/CqrsDispatcherCacheTests.cs | 3 + .../CqrsDispatcherContextValidationTests.cs | 3 + ...qrsGeneratedRequestInvokerProviderTests.cs | 3 + ...qrsHandlerRegistrarFallbackFailureTests.cs | 3 + .../Cqrs/CqrsHandlerRegistrarTests.cs | 3 + .../Cqrs/CqrsNotificationPublisherTests.cs | 3 + .../CqrsReflectionFallbackAttributeTests.cs | 3 + .../Cqrs/CqrsRegistrationServiceTests.cs | 3 + .../DeterministicNotificationHandlerState.cs | 3 + .../Cqrs/DeterministicOrderNotification.cs | 3 + .../Cqrs/DispatcherCacheNotification.cs | 3 + .../DispatcherCacheNotificationHandler.cs | 3 + .../Cqrs/DispatcherCacheRequest.cs | 3 + .../Cqrs/DispatcherCacheRequestHandler.cs | 3 + .../Cqrs/DispatcherCacheStreamHandler.cs | 3 + .../Cqrs/DispatcherCacheStreamRequest.cs | 3 + ...atcherNotificationContextRefreshHandler.cs | 3 + ...rNotificationContextRefreshNotification.cs | 3 + ...spatcherNotificationContextRefreshState.cs | 3 + .../Cqrs/DispatcherPipelineCacheBehavior.cs | 3 + .../Cqrs/DispatcherPipelineCacheRequest.cs | 3 + .../DispatcherPipelineCacheRequestHandler.cs | 3 + ...ispatcherPipelineContextRefreshBehavior.cs | 3 + ...DispatcherPipelineContextRefreshRequest.cs | 3 + ...herPipelineContextRefreshRequestHandler.cs | 3 + .../DispatcherPipelineContextRefreshState.cs | 3 + .../Cqrs/DispatcherPipelineContextSnapshot.cs | 3 + .../DispatcherPipelineOrderCacheRequest.cs | 3 + ...patcherPipelineOrderCacheRequestHandler.cs | 3 + .../DispatcherPipelineOrderInnerBehavior.cs | 3 + .../DispatcherPipelineOrderOuterBehavior.cs | 3 + .../Cqrs/DispatcherPipelineOrderState.cs | 3 + .../DispatcherStreamContextRefreshHandler.cs | 3 + .../DispatcherStreamContextRefreshRequest.cs | 3 + .../DispatcherStreamContextRefreshState.cs | 3 + .../Cqrs/DispatcherStringCacheRequest.cs | 3 + .../DispatcherStringCacheRequestHandler.cs | 3 + .../GeneratedNotificationHandlerRegistry.cs | 3 + .../Cqrs/GeneratedRegistryNotification.cs | 3 + .../GeneratedRegistryNotificationHandler.cs | 3 + ...GeneratedRequestInvokerProviderRegistry.cs | 3 + .../Cqrs/GeneratedRequestInvokerRequest.cs | 3 + .../GeneratedRequestInvokerRequestHandler.cs | 3 + .../GeneratedStreamInvokerProviderRegistry.cs | 3 + .../Cqrs/GeneratedStreamInvokerRequest.cs | 3 + .../GeneratedStreamInvokerRequestHandler.cs | 3 + ...GeneratedRequestInvokerProviderRegistry.cs | 3 + ...nGeneratedStreamInvokerProviderRegistry.cs | 3 + ...enImplementationRequestInvokerContainer.cs | 3 + ...denImplementationStreamInvokerContainer.cs | 3 + ...ialGeneratedNotificationHandlerRegistry.cs | 3 + ...eConstructorNotificationHandlerRegistry.cs | 3 + ...ReflectionFallbackNotificationContainer.cs | 3 + .../ZetaDeterministicNotificationHandler.cs | 3 + .../GFramework.Cqrs.Tests.csproj | 5 + .../Cqrs/CqrsContextAwareHandlerBase.cs | 3 + .../CqrsHandlerRegistryAttribute.cs | 3 + .../CqrsReflectionFallbackAttribute.cs | 3 + .../CqrsRequestInvokerDescriptor.cs | 3 + .../CqrsRequestInvokerDescriptorEntry.cs | 3 + GFramework.Cqrs/CqrsRuntimeFactory.cs | 3 + .../CqrsStreamInvokerDescriptor.cs | 3 + .../CqrsStreamInvokerDescriptorEntry.cs | 3 + .../ContextAwareCqrsCommandExtensions.cs | 3 + .../Extensions/ContextAwareCqrsExtensions.cs | 3 + .../ContextAwareCqrsQueryExtensions.cs | 3 + GFramework.Cqrs/GFramework.Cqrs.csproj | 5 + GFramework.Cqrs/GlobalUsings.cs | 3 + GFramework.Cqrs/ICqrsHandlerRegistry.cs | 3 + GFramework.Cqrs/ICqrsRegistrationService.cs | 3 + .../ICqrsRequestInvokerProvider.cs | 3 + GFramework.Cqrs/ICqrsStreamInvokerProvider.cs | 3 + ...EnumeratesCqrsRequestInvokerDescriptors.cs | 3 + ...IEnumeratesCqrsStreamInvokerDescriptors.cs | 3 + GFramework.Cqrs/Internal/CqrsDispatcher.cs | 3 + .../Internal/CqrsHandlerRegistrar.cs | 3 + .../Internal/DefaultCqrsHandlerRegistrar.cs | 3 + .../DefaultCqrsRegistrationService.cs | 3 + .../SequentialNotificationPublisher.cs | 3 + GFramework.Cqrs/Internal/WeakKeyCache.cs | 3 + GFramework.Cqrs/Internal/WeakTypePairCache.cs | 3 + .../DelegatingNotificationPublishContext.cs | 3 + .../Notification/INotificationPublisher.cs | 3 + .../NotificationHandlerExecutor.cs | 3 + .../NotificationPublishContext.cs | 3 + .../ArchOptions.cs | 3 + .../Directory.Build.props | 5 + .../GFramework.Ecs.Arch.Abstractions.csproj | 5 + .../GlobalUsings.cs | 3 + .../IArchEcsModule.cs | 3 + .../IArchSystemAdapter.cs | 3 + .../Ecs/EcsAdvancedTests.cs | 3 + .../Ecs/EcsBasicTests.cs | 3 + .../Ecs/EcsIntegrationTests.cs | 3 + .../GFramework.Ecs.Arch.Tests.csproj | 5 + GFramework.Ecs.Arch.Tests/GlobalUsings.cs | 3 + .../Integration/ExplicitRegistrationTests.cs | 3 + GFramework.Ecs.Arch/ArchEcsModule.cs | 3 + GFramework.Ecs.Arch/ArchOptions.cs | 3 + GFramework.Ecs.Arch/ArchSystemAdapter.cs | 3 + GFramework.Ecs.Arch/Components/Position.cs | 3 + GFramework.Ecs.Arch/Components/Velocity.cs | 3 + .../Extensions/ArchExtensions.cs | 3 + .../GFramework.Ecs.Arch.csproj | 5 + GFramework.Ecs.Arch/GlobalUsings.cs | 3 + GFramework.Ecs.Arch/Systems/MovementSystem.cs | 3 + .../Asset/IAssetRegistry.cs | 5 +- .../Config/ConfigLoadDiagnostic.cs | 3 + .../Config/ConfigLoadException.cs | 3 + .../Config/ConfigLoadFailureKind.cs | 3 + .../Config/IConfigLoader.cs | 3 + .../Config/IConfigRegistry.cs | 3 + .../Config/IConfigTable.cs | 3 + .../Directory.Build.props | 7 +- .../Enums/UITransitionPhases.cs | 3 + GFramework.Game.Abstractions/Enums/UiLayer.cs | 3 + .../Enums/UiTransitionPolicy.cs | 5 +- .../Enums/UiTransitionType.cs | 3 + .../GFramework.Game.Abstractions.csproj | 7 +- .../Internals/IsExternalInit.cs | 5 +- .../Scene/IGameSceneRegistry.cs | 5 +- .../Setting/Data/AudioSettings.cs | 3 + .../Setting/Data/GraphicsSettings.cs | 3 + .../Setting/IApplyAbleSettings.cs | 5 +- .../Setting/IResettable.cs | 3 + .../Setting/ISettingsChangedEvent.cs | 5 +- .../Setting/ISettingsModel.cs | 5 +- .../Setting/ISettingsSection.cs | 5 +- .../Setting/ISettingsSystem.cs | 3 + .../Storage/IFileStorage.cs | 5 +- .../Storage/IScopedStorage.cs | 5 +- .../UI/IUiActionHandler.cs | 3 + .../UI/IUiAroundTransitionHandler.cs | 3 + GFramework.Game.Abstractions/UI/IUiFactory.cs | 3 + .../UI/IUiInteractionProfileProvider.cs | 3 + GFramework.Game.Abstractions/UI/IUiPage.cs | 5 +- .../UI/IUiPageBehavior.cs | 5 +- .../UI/IUiPageBehaviorProvider.cs | 5 +- .../UI/IUiPageEnterParam.cs | 5 +- GFramework.Game.Abstractions/UI/IUiRoot.cs | 3 + .../UI/IUiRouteGuard.cs | 3 + GFramework.Game.Abstractions/UI/IUiRouter.cs | 3 + .../UI/IUiTransitionHandler.cs | 3 + .../UI/UiInputAction.cs | 3 + .../UI/UiInputActionMask.cs | 3 + .../UI/UiInteractionProfile.cs | 3 + .../UI/UiPauseMode.cs | 3 + .../UI/UiPopPolicy.cs | 5 +- .../UI/UiTransitionEvent.cs | 3 + .../UI/UiTransitionHandlerOptions.cs | 5 +- .../Config/SchemaConfigGenerator.cs | 3 + .../Diagnostics/ConfigSchemaDiagnostics.cs | 3 + .../GFramework.Game.SourceGenerators.csproj | 5 + ...u.GFramework.Game.SourceGenerators.targets | 5 + .../GlobalUsings.cs | 3 + .../ArchitectureConfigIntegrationTests.cs | 3 + .../Config/ConfigRegistryTests.cs | 3 + .../Config/GameConfigBootstrapTests.cs | 3 + ...GeneratedConfigConsumerIntegrationTests.cs | 3 + .../Config/InMemoryConfigTableTests.cs | 3 + .../Config/YamlConfigLoaderAllOfTests.cs | 3 + .../YamlConfigLoaderDependentRequiredTests.cs | 3 + .../YamlConfigLoaderDependentSchemasTests.cs | 3 + .../Config/YamlConfigLoaderEnumTests.cs | 3 + .../Config/YamlConfigLoaderIfThenElseTests.cs | 3 + .../Config/YamlConfigLoaderNegationTests.cs | 3 + .../Config/YamlConfigLoaderTests.cs | 3 + .../Config/YamlConfigModelContractTests.cs | 3 + .../Config/YamlConfigSchemaValidatorTests.cs | 3 + ...YamlConfigTableRegistrationOptionsTests.cs | 3 + .../Config/YamlConfigTextSerializerTests.cs | 3 + .../Config/YamlConfigTextValidatorTests.cs | 3 + .../Data/PersistenceTests.cs | 3 + .../Data/TestDataLocation.cs | 3 + GFramework.Game.Tests/Data/TestNamedData.cs | 3 + GFramework.Game.Tests/Data/TestSaveData.cs | 3 + GFramework.Game.Tests/Data/TestSimpleData.cs | 3 + .../Data/TestVersionedSaveData.cs | 3 + .../GFramework.Game.Tests.csproj | 5 + .../Serializer/JsonSerializerTests.cs | 3 + .../Setting/GodotLocalizationSettingsTests.cs | 3 + .../Setting/SettingsModelTests.cs | 3 + .../Setting/SettingsSystemTests.cs | 3 + .../Config/ConfigLoadExceptionFactory.cs | 3 + GFramework.Game/Config/ConfigRegistry.cs | 3 + GFramework.Game/Config/GameConfigBootstrap.cs | 3 + .../Config/GameConfigBootstrapOptions.cs | 3 + GFramework.Game/Config/GameConfigModule.cs | 3 + GFramework.Game/Config/InMemoryConfigTable.cs | 3 + .../Config/YamlConfigAllowedValue.cs | 3 + .../Config/YamlConfigArrayConstraints.cs | 3 + .../YamlConfigArrayContainsConstraints.cs | 3 + .../Config/YamlConfigConditionalSchemas.cs | 3 + .../Config/YamlConfigConstantValue.cs | 3 + .../Config/YamlConfigHotReloadOptions.cs | 3 + GFramework.Game/Config/YamlConfigLoader.cs | 3 + .../Config/YamlConfigNumericConstraints.cs | 3 + .../Config/YamlConfigObjectConstraints.cs | 3 + .../Config/YamlConfigReferenceUsage.cs | 3 + .../Config/YamlConfigScalarConstraints.cs | 3 + GFramework.Game/Config/YamlConfigSchema.cs | 3 + .../Config/YamlConfigSchemaNode.cs | 3 + .../Config/YamlConfigSchemaPropertyType.cs | 3 + ...amlConfigSchemaValidator.ObjectKeywords.cs | 3 + .../Config/YamlConfigSchemaValidator.cs | 3 + .../Config/YamlConfigStringConstraints.cs | 3 + .../YamlConfigStringFormatConstraint.cs | 3 + .../Config/YamlConfigStringFormatKind.cs | 3 + .../YamlConfigTableRegistrationOptions.cs | 3 + .../Config/YamlConfigTextSerializer.cs | 3 + .../Config/YamlConfigTextValidator.cs | 3 + GFramework.Game/GFramework.Game.csproj | 7 +- GFramework.Game/Properties/AssemblyInfo.cs | 3 + GFramework.Game/Serializer/JsonSerializer.cs | 5 +- .../Setting/Events/SettingsAppliedEvent.cs | 5 +- .../Setting/Events/SettingsApplyingEvent.cs | 5 +- .../Setting/Events/SettingsResetAllEvent.cs | 3 + .../Setting/Events/SettingsResetEvent.cs | 3 + GFramework.Game/Setting/SettingsModel.cs | 5 +- GFramework.Game/Setting/SettingsSystem.cs | 3 + .../State/GameStateMachineSystem.cs | 5 +- GFramework.Game/Storage/FileStorage.cs | 5 +- GFramework.Game/Storage/ScopedStorage.cs | 5 +- .../UI/Handler/LoggingTransitionHandler.cs | 3 + .../UI/Handler/UiTransitionHandlerBase.cs | 3 + GFramework.Game/UI/UiInteractionProfiles.cs | 3 + GFramework.Game/UI/UiRouterBase.cs | 3 + GFramework.Game/UI/UiTransitionPipeline.cs | 3 + .../AutoLoadAttribute.cs | 3 + .../BindNodeSignalAttribute.cs | 3 + .../Directory.Build.props | 5 + ...Godot.SourceGenerators.Abstractions.csproj | 7 +- .../GetNodeAttribute.cs | 3 + .../GodotModuleMarker.cs | 5 +- .../NodeLookupMode.cs | 3 + ...utoRegisterExportedCollectionsAttribute.cs | 3 + .../UI/AutoSceneAttribute.cs | 3 + .../UI/AutoUiPageAttribute.cs | 3 + .../UI/RegisterExportedCollectionAttribute.cs | 3 + .../Abstractions/AutoLoadAttributeTests.cs | 3 + .../Behavior/AutoSceneGeneratorTests.cs | 3 + .../Behavior/AutoUiPageGeneratorTests.cs | 3 + .../BindNodeSignalGeneratorTests.cs | 3 + .../Core/AdditionalTextGeneratorTestDriver.cs | 3 + .../AdditionalTextGeneratorTestDriverTests.cs | 3 + .../Core/GeneratorTest.cs | 5 +- ...mework.Godot.SourceGenerators.Tests.csproj | 7 +- .../GetNode/GetNodeGeneratorTests.cs | 3 + .../GodotProjectMetadataGeneratorTests.cs | 3 + ...gisterExportedCollectionsGeneratorTests.cs | 3 + .../Behavior/AutoSceneGenerator.cs | 3 + .../Behavior/AutoUiPageGenerator.cs | 3 + .../BindNodeSignalGenerator.cs | 3 + .../Diagnostics/AutoBehaviorDiagnostics.cs | 3 + ...oRegisterExportedCollectionsDiagnostics.cs | 3 + .../Diagnostics/BindNodeSignalDiagnostics.cs | 3 + .../Diagnostics/GetNodeDiagnostics.cs | 3 + .../Diagnostics/GodotProjectDiagnostics.cs | 3 + .../GFramework.Godot.SourceGenerators.csproj | 7 +- ....GFramework.Godot.SourceGenerators.targets | 5 + .../GetNodeGenerator.cs | 3 + .../GodotProjectMetadataGenerator.cs | 3 + ...utoRegisterExportedCollectionsGenerator.cs | 3 + ...ractArchitectureModuleInstallationTests.cs | 3 + .../Config/GodotYamlConfigLoaderTests.cs | 3 + .../Config/GodotYamlConfigTableSourceTests.cs | 3 + .../Coroutine/GodotTimeSourceTests.cs | 3 + .../Coroutine/TimingTests.cs | 3 + .../GFramework.Godot.Tests.csproj | 7 +- .../Logging/GodotLogAppenderTests.cs | 3 + .../Logging/GodotLogTemplateTests.cs | 3 + .../Logging/GodotLoggerSettingsLoaderTests.cs | 3 + .../Text/RichTextEffectPlanTests.cs | 3 + .../Text/RichTextEffectsControllerTests.cs | 3 + .../Text/RichTextMarkupTests.cs | 3 + .../Architectures/AbstractArchitecture.cs | 5 +- .../Architectures/AbstractGodotModule.cs | 5 +- .../Architectures/ArchitectureAnchor.cs | 5 +- .../Architectures/IGodotModule.cs | 5 +- .../Config/GodotYamlConfigDirectoryEntry.cs | 3 + .../Config/GodotYamlConfigEnvironment.cs | 3 + .../Config/GodotYamlConfigLoader.cs | 3 + .../Config/GodotYamlConfigLoaderOptions.cs | 3 + .../Config/GodotYamlConfigTableSource.cs | 3 + .../ContextAwareCoroutineExtensions.cs | 5 +- GFramework.Godot/Coroutine/GodotTimeSource.cs | 5 +- GFramework.Godot/Coroutine/Segment.cs | 5 +- GFramework.Godot/Coroutine/Timing.Testing.cs | 3 + GFramework.Godot/Coroutine/Timing.cs | 5 +- .../Extensions/GodotPathExtensions.cs | 5 +- GFramework.Godot/Extensions/NodeExtensions.cs | 5 +- .../Extensions/Signal/SignalBuilder.cs | 5 +- .../Signal/SignalFluentExtensions.cs | 5 +- .../Extensions/UnRegisterExtension.cs | 5 +- GFramework.Godot/GFramework.Godot.csproj | 5 + GFramework.Godot/Logging/DeferredLogger.cs | 3 + GFramework.Godot/Logging/GodotLog.cs | 3 + GFramework.Godot/Logging/GodotLogAppender.cs | 3 + .../Logging/GodotLogConfigurationSource.cs | 3 + .../Logging/GodotLogRenderContext.cs | 3 + GFramework.Godot/Logging/GodotLogTemplate.cs | 3 + GFramework.Godot/Logging/GodotLogger.cs | 3 + .../Logging/GodotLoggerFactory.cs | 3 + .../Logging/GodotLoggerFactoryProvider.cs | 3 + GFramework.Godot/Logging/GodotLoggerMode.cs | 3 + .../Logging/GodotLoggerOptions.cs | 3 + .../Logging/GodotLoggerSettings.cs | 3 + .../Logging/GodotLoggerSettingsLoader.cs | 3 + GFramework.Godot/Pause/GodotPauseHandler.cs | 3 + .../Pool/AbstractNodePoolSystem.cs | 5 +- GFramework.Godot/Pool/IPoolableNode.cs | 5 +- GFramework.Godot/Properties/AssemblyInfo.cs | 3 + GFramework.Godot/Scene/GodotSceneRegistry.cs | 5 +- GFramework.Godot/Scene/IGodotSceneRegistry.cs | 5 +- GFramework.Godot/Setting/Data/AudioBusMap.cs | 3 + .../Setting/GodotAudioSettings.cs | 5 +- .../Setting/GodotGraphicsSettings.cs | 5 +- GFramework.Godot/Storage/GodotFileStorage.cs | 3 + .../Text/DefaultRichTextEffectRegistry.cs | 3 + .../Text/Effects/RichTextBlueEffect.cs | 3 + .../Text/Effects/RichTextEffectBase.cs | 3 + .../Text/Effects/RichTextFadeInEffect.cs | 3 + .../Text/Effects/RichTextFlyInEffect.cs | 3 + .../Text/Effects/RichTextGoldEffect.cs | 3 + .../Text/Effects/RichTextGreenEffect.cs | 3 + .../Text/Effects/RichTextJitterEffect.cs | 3 + .../Text/Effects/RichTextRedEffect.cs | 3 + .../Text/Effects/RichTextSineEffect.cs | 3 + GFramework.Godot/Text/GfRichTextLabel.cs | 3 + GFramework.Godot/Text/IRichTextEffectHost.cs | 3 + .../Text/IRichTextEffectRegistry.cs | 3 + GFramework.Godot/Text/RichTextEffectEntry.cs | 3 + GFramework.Godot/Text/RichTextEffectPlan.cs | 3 + .../Text/RichTextEffectPlanEntry.cs | 3 + .../Text/RichTextEffectsController.cs | 3 + GFramework.Godot/Text/RichTextMarkup.cs | 3 + GFramework.Godot/Text/RichTextProfile.cs | 3 + GFramework.Godot/UI/GodotUiFactory.cs | 3 + GFramework.Godot/UI/GodotUiRegistry.cs | 5 +- GFramework.Godot/UI/IGodotUiRegistry.cs | 5 +- .../Constants/PathContests.cs | 5 +- .../Diagnostics/CommonDiagnostics.cs | 5 +- .../Directory.Build.props | 5 + .../Extensions/AttributeDataExtensions.cs | 5 +- .../GeneratedMethodConflictExtensions.cs | 3 + .../Extensions/INamedTypeSymbolExtensions.cs | 5 +- .../Extensions/ITypeSymbolExtensions.cs | 3 + .../GFramework.SourceGenerators.Common.csproj | 7 +- .../Generator/AttributeClassGeneratorBase.cs | 5 +- .../Generator/AttributeEnumGeneratorBase.cs | 5 +- .../MetadataAttributeClassGeneratorBase.cs | 5 +- .../TypeAttributeClassGeneratorBase.cs | 5 +- .../Info/FieldCandidateInfo.cs | 3 + .../Info/GenericInfo.cs | 5 +- .../Info/TypeCandidateInfo.cs | 3 + .../Internals/IsExternalInit.cs | 5 +- .../ContextRegistrationAnalyzerTests.cs | 3 + .../AutoRegisterModuleGeneratorTests.cs | 3 + .../Bases/PriorityGeneratorSnapshotTests.cs | 3 + .../Config/SchemaConfigGeneratorEnumTests.cs | 3 + .../SchemaConfigGeneratorSnapshotTests.cs | 3 + .../Config/SchemaConfigGeneratorTests.cs | 3 + .../Config/SchemaGeneratorTestDriver.cs | 3 + .../Core/AnalyzerTestDriver.cs | 3 + .../Core/GeneratorSnapshotTest.cs | 5 +- .../GeneratorSnapshotTestSecurityTests.cs | 3 + .../Core/GeneratorTest.cs | 5 +- .../Core/MarkupTestSource.cs | 3 + .../Core/MetadataReferenceTestBuilder.cs | 3 + .../Cqrs/CqrsHandlerRegistryGeneratorTests.cs | 3 + .../EnumExtensionsGeneratorSnapshotTests.cs | 3 + .../GFramework.SourceGenerators.Tests.csproj | 7 +- .../Logging/LoggerGeneratorSnapshotTests.cs | 3 + .../ContextAwareGeneratorSnapshotTests.cs | 5 +- .../Rule/ContextGetGeneratorTests.cs | 3 + GFramework.Tests.Common/CqrsTestRuntime.cs | 3 + .../GFramework.Tests.Common.csproj | 5 + GFramework.csproj | 5 + .../Node/ControllerTemplate.cs | 3 + .../Node/PageControllerTemplate.cs | 5 +- README.md | 3 +- docs/.vitepress/theme/index.ts | 3 + docs/zh-CN/contributing.md | 26 ++ refactor-scripts/finish-remaining.sh | 3 + refactor-scripts/refactor-namespaces.sh | 3 + refactor-scripts/rename-all-remaining.sh | 3 + refactor-scripts/rename-core.sh | 3 + refactor-scripts/rename-folders-simple.sh | 3 + refactor-scripts/update-namespaces.py | 3 + scripts/collect-dev-environment.sh | 3 + scripts/generate-ai-environment.py | 3 + scripts/license-header.py | 18 ++ scripts/license_header.py | 279 ++++++++++++++++++ scripts/test_license_header.py | 128 ++++++++ scripts/validate-csharp-naming.sh | 3 + .../gframework-config-tool/src/configPath.js | 3 + .../src/configValidation.js | 3 + .../src/containsSummary.js | 3 + tools/gframework-config-tool/src/extension.js | 3 + .../src/localization.js | 3 + .../src/localizationKeys.js | 3 + .../test/configValidation.enum.test.js | 3 + .../test/configValidation.test.js | 3 + .../test/containsSummary.test.js | 3 + .../test/localization.test.js | 3 + 1021 files changed, 3800 insertions(+), 174 deletions(-) create mode 100644 .github/workflows/license-header-fix.yml create mode 100644 scripts/license-header.py create mode 100644 scripts/license_header.py create mode 100644 scripts/test_license_header.py diff --git a/.coderabbit.yaml b/.coderabbit.yaml index 5fc95d9d..e1057abf 100644 --- a/.coderabbit.yaml +++ b/.coderabbit.yaml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json language: "zh-CN" early_access: false diff --git a/.feluda.yaml b/.feluda.yaml index 97fef533..961da122 100644 --- a/.feluda.yaml +++ b/.feluda.yaml @@ -1,4 +1,7 @@ -license_overrides: +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + +license_overrides: NETStandard.Library: MIT Microsoft.NETCore.Platforms: MIT System.Buffers: MIT diff --git a/.github/ISSUE_TEMPLATE/01-bug-report.yml b/.github/ISSUE_TEMPLATE/01-bug-report.yml index ea785e10..f4d357e9 100644 --- a/.github/ISSUE_TEMPLATE/01-bug-report.yml +++ b/.github/ISSUE_TEMPLATE/01-bug-report.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: "Bug Report / 缺陷报告" description: "Report a reproducible defect in GFramework. / 报告可稳定复现的 GFramework 缺陷。" title: "[Bug]: " diff --git a/.github/ISSUE_TEMPLATE/02-feature-request.yml b/.github/ISSUE_TEMPLATE/02-feature-request.yml index 37614b6b..72ae58b0 100644 --- a/.github/ISSUE_TEMPLATE/02-feature-request.yml +++ b/.github/ISSUE_TEMPLATE/02-feature-request.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: "Feature Request / 功能建议" description: "Suggest a new capability or an API improvement. / 提出新能力或 API 改进建议。" title: "[Feature]: " diff --git a/.github/ISSUE_TEMPLATE/03-documentation.yml b/.github/ISSUE_TEMPLATE/03-documentation.yml index 2720a727..d44c374b 100644 --- a/.github/ISSUE_TEMPLATE/03-documentation.yml +++ b/.github/ISSUE_TEMPLATE/03-documentation.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: "Documentation / 文档改进" description: "Report missing, outdated, or unclear documentation. / 报告缺失、过期或不清晰的文档。" title: "[Docs]: " diff --git a/.github/ISSUE_TEMPLATE/04-question.yml b/.github/ISSUE_TEMPLATE/04-question.yml index 01dba19c..677cbe12 100644 --- a/.github/ISSUE_TEMPLATE/04-question.yml +++ b/.github/ISSUE_TEMPLATE/04-question.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: "Question / 使用咨询" description: "Ask for guidance about usage, behavior, or adoption. / 询问用法、行为或接入方式。" title: "[Question]: " diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index a9fcd691..82c94b02 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + blank_issues_enabled: false contact_links: - name: "Search Existing Issues / 搜索现有 Issues" diff --git a/.github/actions/validate-pat/action.yml b/.github/actions/validate-pat/action.yml index 534f183b..9beeb5c3 100644 --- a/.github/actions/validate-pat/action.yml +++ b/.github/actions/validate-pat/action.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: Validate PAT description: Validate that the release PAT can access the repository and push tags. diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b9b01614..a10939b6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + version: 2 updates: # ===== NuGet 依赖(所有项目)===== diff --git a/.github/workflows/auto-tag.yml b/.github/workflows/auto-tag.yml index b48915ed..9cb82592 100644 --- a/.github/workflows/auto-tag.yml +++ b/.github/workflows/auto-tag.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: Semantic Release Version and Tag on: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6948e89..7484aa96 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # CI/CD工作流配置:构建和测试.NET项目 # 该工作流仅在创建或更新面向任意分支的 pull request 时触发 name: CI - Build & Test @@ -28,6 +31,10 @@ jobs: - name: Validate C# naming run: bash scripts/validate-csharp-naming.sh + # 校验仓库维护源码是否包含 Apache-2.0 文件头声明 + - name: Validate license headers + run: python3 scripts/license-header.py --check + # 缓存MegaLinter - name: Cache MegaLinter uses: actions/cache@v5 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 0a068113..3192553e 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # GitHub Actions工作流配置:CodeQL静态代码分析 # 该工作流用于对C#项目进行安全漏洞和代码质量分析 name: "CodeQL" diff --git a/.github/workflows/license-compliance.yml b/.github/workflows/license-compliance.yml index b5099fad..077701a1 100644 --- a/.github/workflows/license-compliance.yml +++ b/.github/workflows/license-compliance.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: License Compliance (Feluda) on: diff --git a/.github/workflows/license-header-fix.yml b/.github/workflows/license-header-fix.yml new file mode 100644 index 00000000..ac94cb4f --- /dev/null +++ b/.github/workflows/license-header-fix.yml @@ -0,0 +1,51 @@ +# 维护者手动触发的 Apache-2.0 文件头修复流程。 +name: License Header Fix + +on: + workflow_dispatch: + inputs: + base_branch: + description: Branch to fix and target with the generated pull request. + required: true + default: main + +permissions: + contents: write + pull-requests: write + +jobs: + fix-license-headers: + name: Create license header fix PR + runs-on: ubuntu-latest + + steps: + - name: Checkout target branch + uses: actions/checkout@v6 + with: + ref: ${{ inputs.base_branch }} + + - name: Add missing license headers + run: python3 scripts/license-header.py --fix + + - name: Create pull request + uses: peter-evans/create-pull-request@v7 + with: + token: ${{ secrets.GITHUB_TOKEN }} + base: ${{ inputs.base_branch }} + branch: chore/license-headers-${{ github.run_id }} + delete-branch: true + commit-message: | + chore(license): 补齐 Apache-2.0 文件头 + + - 补充缺失源文件许可证声明 + - 更新文件头治理校验结果 + title: "chore(license): 补齐 Apache-2.0 文件头" + body: | + ## Summary + + - 补齐仓库维护源码和配置文件缺失的 Apache-2.0 文件头 + - 使用 `scripts/license-header.py --fix` 生成本次修复 + + ## Validation + + - `python3 scripts/license-header.py --check` diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 76f63103..ea8ddec6 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # 工作流名称:Publish Docs # 该工作流用于在推送标签或手动触发时构建并部署文档到 GitHub Pages diff --git a/.github/workflows/publish-vscode-extension.yml b/.github/workflows/publish-vscode-extension.yml index 8964c1f4..feef6061 100644 --- a/.github/workflows/publish-vscode-extension.yml +++ b/.github/workflows/publish-vscode-extension.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + name: Publish VS Code Extension on: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ed787717..5afe70cb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # 发布工作流(NuGet + GitHub Packages + GitHub Release) # # 功能:当推送标签时自动构建、打包,并将相同产物并发发布到 NuGet.org 与 GitHub Packages, diff --git a/.mega-linter.yml b/.mega-linter.yml index 603b52bb..005b1597 100644 --- a/.mega-linter.yml +++ b/.mega-linter.yml @@ -1,4 +1,7 @@ -# 配置文件用于设置代码质量检查工具的各项参数和规则 +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + +# 配置文件用于设置代码质量检查工具的各项参数和规则 # 包含全局排除目录、启用/禁用的检查器、特定语言配置等设置 APPLY_FIXES: none diff --git a/Directory.Build.props b/Directory.Build.props index 218c4ab1..b494c49f 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,3 +1,8 @@ + + diff --git a/Directory.Build.targets b/Directory.Build.targets index 1b1ad0a3..2bb5b6e9 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,3 +1,8 @@ + + + diff --git a/GFramework.Core.Abstractions/Enums/ArchitecturePhase.cs b/GFramework.Core.Abstractions/Enums/ArchitecturePhase.cs index 54e8cc47..ce2afbc9 100644 --- a/GFramework.Core.Abstractions/Enums/ArchitecturePhase.cs +++ b/GFramework.Core.Abstractions/Enums/ArchitecturePhase.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Abstractions.Enums; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Abstractions.Enums; /// /// 架构阶段枚举,定义了系统架构初始化和运行过程中的各个关键阶段 diff --git a/GFramework.Core.Abstractions/Environment/IEnvironment.cs b/GFramework.Core.Abstractions/Environment/IEnvironment.cs index 09fc9bd3..236669fb 100644 --- a/GFramework.Core.Abstractions/Environment/IEnvironment.cs +++ b/GFramework.Core.Abstractions/Environment/IEnvironment.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Abstractions.Environment; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Abstractions.Environment; /// /// 定义环境接口,提供应用程序运行环境的相关信息 diff --git a/GFramework.Core.Abstractions/Events/EventContext.cs b/GFramework.Core.Abstractions/Events/EventContext.cs index f0bd08cd..98b094ca 100644 --- a/GFramework.Core.Abstractions/Events/EventContext.cs +++ b/GFramework.Core.Abstractions/Events/EventContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Abstractions.Events; /// diff --git a/GFramework.Core.Abstractions/Events/EventPropagation.cs b/GFramework.Core.Abstractions/Events/EventPropagation.cs index 0b4b2ccd..e2261d43 100644 --- a/GFramework.Core.Abstractions/Events/EventPropagation.cs +++ b/GFramework.Core.Abstractions/Events/EventPropagation.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Abstractions.Events; /// diff --git a/GFramework.Core.Abstractions/Events/IEvent.cs b/GFramework.Core.Abstractions/Events/IEvent.cs index 5e7bacfe..4aa21cb9 100644 --- a/GFramework.Core.Abstractions/Events/IEvent.cs +++ b/GFramework.Core.Abstractions/Events/IEvent.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Abstractions.Events; /// /// 事件接口,定义了事件注册的基本功能 diff --git a/GFramework.Core.Abstractions/Events/IEventBus.cs b/GFramework.Core.Abstractions/Events/IEventBus.cs index 4b57343d..8123cd14 100644 --- a/GFramework.Core.Abstractions/Events/IEventBus.cs +++ b/GFramework.Core.Abstractions/Events/IEventBus.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Abstractions.Events; /// /// 事件总线接口,提供事件的发送、注册和注销功能 diff --git a/GFramework.Core.Abstractions/Events/IEventFilter.cs b/GFramework.Core.Abstractions/Events/IEventFilter.cs index 2729a082..b3620b40 100644 --- a/GFramework.Core.Abstractions/Events/IEventFilter.cs +++ b/GFramework.Core.Abstractions/Events/IEventFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Abstractions.Events; /// diff --git a/GFramework.Core.Abstractions/Events/IEventStatistics.cs b/GFramework.Core.Abstractions/Events/IEventStatistics.cs index 39202017..e9936cab 100644 --- a/GFramework.Core.Abstractions/Events/IEventStatistics.cs +++ b/GFramework.Core.Abstractions/Events/IEventStatistics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Abstractions.Events; /// diff --git a/GFramework.Core.Abstractions/Events/IUnRegister.cs b/GFramework.Core.Abstractions/Events/IUnRegister.cs index 6f29d3b0..03bf952c 100644 --- a/GFramework.Core.Abstractions/Events/IUnRegister.cs +++ b/GFramework.Core.Abstractions/Events/IUnRegister.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Abstractions.Events; /// /// 提供注销功能的接口 diff --git a/GFramework.Core.Abstractions/Events/IUnRegisterList.cs b/GFramework.Core.Abstractions/Events/IUnRegisterList.cs index f13afeea..0cc2ed24 100644 --- a/GFramework.Core.Abstractions/Events/IUnRegisterList.cs +++ b/GFramework.Core.Abstractions/Events/IUnRegisterList.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Abstractions.Events; /// /// 提供统一注销功能的接口,用于管理需要注销的对象列表 diff --git a/GFramework.Core.Abstractions/GFramework.Core.Abstractions.csproj b/GFramework.Core.Abstractions/GFramework.Core.Abstractions.csproj index 3aaec37a..1e1368e1 100644 --- a/GFramework.Core.Abstractions/GFramework.Core.Abstractions.csproj +++ b/GFramework.Core.Abstractions/GFramework.Core.Abstractions.csproj @@ -1,4 +1,9 @@ - + + + + diff --git a/GFramework.Core.SourceGenerators.Abstractions/Enums/GenerateEnumExtensionsAttribute.cs b/GFramework.Core.SourceGenerators.Abstractions/Enums/GenerateEnumExtensionsAttribute.cs index a48c7b7f..390ebd68 100644 --- a/GFramework.Core.SourceGenerators.Abstractions/Enums/GenerateEnumExtensionsAttribute.cs +++ b/GFramework.Core.SourceGenerators.Abstractions/Enums/GenerateEnumExtensionsAttribute.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.SourceGenerators.Abstractions.Enums; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.SourceGenerators.Abstractions.Enums; /// /// 标注在 enum 上,Source Generator 会为该 enum 生成扩展方法。 diff --git a/GFramework.Core.SourceGenerators.Abstractions/GFramework.Core.SourceGenerators.Abstractions.csproj b/GFramework.Core.SourceGenerators.Abstractions/GFramework.Core.SourceGenerators.Abstractions.csproj index 7bf582af..a5aa5455 100644 --- a/GFramework.Core.SourceGenerators.Abstractions/GFramework.Core.SourceGenerators.Abstractions.csproj +++ b/GFramework.Core.SourceGenerators.Abstractions/GFramework.Core.SourceGenerators.Abstractions.csproj @@ -1,4 +1,9 @@ - + + + + + GeWuYou.$(AssemblyName) diff --git a/GFramework.Core.SourceGenerators/GeWuYou.GFramework.Core.SourceGenerators.targets b/GFramework.Core.SourceGenerators/GeWuYou.GFramework.Core.SourceGenerators.targets index 4a1d4f8e..04396b19 100644 --- a/GFramework.Core.SourceGenerators/GeWuYou.GFramework.Core.SourceGenerators.targets +++ b/GFramework.Core.SourceGenerators/GeWuYou.GFramework.Core.SourceGenerators.targets @@ -1,4 +1,9 @@ + + diff --git a/GFramework.Core.Tests/Architectures/AnotherTestArchitectureContext.cs b/GFramework.Core.Tests/Architectures/AnotherTestArchitectureContext.cs index 850a3723..2333b324 100644 --- a/GFramework.Core.Tests/Architectures/AnotherTestArchitectureContext.cs +++ b/GFramework.Core.Tests/Architectures/AnotherTestArchitectureContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Architectures; /// diff --git a/GFramework.Core.Tests/Architectures/ArchitectureAdditionalCqrsHandlersTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureAdditionalCqrsHandlersTests.cs index fe2e50a5..04296fae 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureAdditionalCqrsHandlersTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureAdditionalCqrsHandlersTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureComponentRegistryBehaviorTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureComponentRegistryBehaviorTests.cs index f6cbdafa..ad22596d 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureComponentRegistryBehaviorTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureComponentRegistryBehaviorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureConfigurationTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureConfigurationTests.cs index dc5fec81..315a3c3c 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureConfigurationTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureConfigurationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Properties; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureConstantsTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureConstantsTests.cs index 1b7514f6..0d604746 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureConstantsTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureConstantsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Immutable; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureContextTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureContextTests.cs index 5895e42f..47ad0d2c 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureContextTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureContextTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Command; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureInitializationPipelineTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureInitializationPipelineTests.cs index 10945ad2..a10b2876 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureInitializationPipelineTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureInitializationPipelineTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureLifecycleBehaviorTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureLifecycleBehaviorTests.cs index b3717a56..cae82837 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureLifecycleBehaviorTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureLifecycleBehaviorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureModulesBehaviorTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureModulesBehaviorTests.cs index a879804c..b9e7b180 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureModulesBehaviorTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureModulesBehaviorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Utility; diff --git a/GFramework.Core.Tests/Architectures/ArchitectureServicesTests.cs b/GFramework.Core.Tests/Architectures/ArchitectureServicesTests.cs index 2c060b5b..03133401 100644 --- a/GFramework.Core.Tests/Architectures/ArchitectureServicesTests.cs +++ b/GFramework.Core.Tests/Architectures/ArchitectureServicesTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Command; using GFramework.Core.Abstractions.Environment; diff --git a/GFramework.Core.Tests/Architectures/AsyncTestArchitecture.cs b/GFramework.Core.Tests/Architectures/AsyncTestArchitecture.cs index d260caaf..03fb689e 100644 --- a/GFramework.Core.Tests/Architectures/AsyncTestArchitecture.cs +++ b/GFramework.Core.Tests/Architectures/AsyncTestArchitecture.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Tests.Model; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Tests.Model; using GFramework.Core.Tests.Systems; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/ContextProviderTests.cs b/GFramework.Core.Tests/Architectures/ContextProviderTests.cs index ee196cdf..bcd9e64c 100644 --- a/GFramework.Core.Tests/Architectures/ContextProviderTests.cs +++ b/GFramework.Core.Tests/Architectures/ContextProviderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Architectures/GameContextTests.cs b/GFramework.Core.Tests/Architectures/GameContextTests.cs index 0087102a..6005742b 100644 --- a/GFramework.Core.Tests/Architectures/GameContextTests.cs +++ b/GFramework.Core.Tests/Architectures/GameContextTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Architectures; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/IMixedTestSystem.cs b/GFramework.Core.Tests/Architectures/IMixedTestSystem.cs index e777e361..8550854a 100644 --- a/GFramework.Core.Tests/Architectures/IMixedTestSystem.cs +++ b/GFramework.Core.Tests/Architectures/IMixedTestSystem.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Systems; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/IPriorityTestModel.cs b/GFramework.Core.Tests/Architectures/IPriorityTestModel.cs index 2bda2258..f4d9601e 100644 --- a/GFramework.Core.Tests/Architectures/IPriorityTestModel.cs +++ b/GFramework.Core.Tests/Architectures/IPriorityTestModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Model; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/IPriorityTestSystem.cs b/GFramework.Core.Tests/Architectures/IPriorityTestSystem.cs index 9ea25cde..3eca4eb3 100644 --- a/GFramework.Core.Tests/Architectures/IPriorityTestSystem.cs +++ b/GFramework.Core.Tests/Architectures/IPriorityTestSystem.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Systems; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/IPriorityTestUtility.cs b/GFramework.Core.Tests/Architectures/IPriorityTestUtility.cs index 8f499dc0..0cd8e52b 100644 --- a/GFramework.Core.Tests/Architectures/IPriorityTestUtility.cs +++ b/GFramework.Core.Tests/Architectures/IPriorityTestUtility.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Utility; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/MixedTestSystemNegativePriority.cs b/GFramework.Core.Tests/Architectures/MixedTestSystemNegativePriority.cs index fa59af18..a48321b4 100644 --- a/GFramework.Core.Tests/Architectures/MixedTestSystemNegativePriority.cs +++ b/GFramework.Core.Tests/Architectures/MixedTestSystemNegativePriority.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/MixedTestSystemWithPriority.cs b/GFramework.Core.Tests/Architectures/MixedTestSystemWithPriority.cs index c938ef37..4dfe984e 100644 --- a/GFramework.Core.Tests/Architectures/MixedTestSystemWithPriority.cs +++ b/GFramework.Core.Tests/Architectures/MixedTestSystemWithPriority.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/MixedTestSystemWithoutPriority.cs b/GFramework.Core.Tests/Architectures/MixedTestSystemWithoutPriority.cs index ba418c39..713acd10 100644 --- a/GFramework.Core.Tests/Architectures/MixedTestSystemWithoutPriority.cs +++ b/GFramework.Core.Tests/Architectures/MixedTestSystemWithoutPriority.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/ModuleBehaviorRequest.cs b/GFramework.Core.Tests/Architectures/ModuleBehaviorRequest.cs index 4d405b10..ed8c2e7c 100644 --- a/GFramework.Core.Tests/Architectures/ModuleBehaviorRequest.cs +++ b/GFramework.Core.Tests/Architectures/ModuleBehaviorRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/ModuleBehaviorRequestHandler.cs b/GFramework.Core.Tests/Architectures/ModuleBehaviorRequestHandler.cs index 8bbf0f17..d356876a 100644 --- a/GFramework.Core.Tests/Architectures/ModuleBehaviorRequestHandler.cs +++ b/GFramework.Core.Tests/Architectures/ModuleBehaviorRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/PriorityServiceTests.cs b/GFramework.Core.Tests/Architectures/PriorityServiceTests.cs index 2d53611c..78da19ad 100644 --- a/GFramework.Core.Tests/Architectures/PriorityServiceTests.cs +++ b/GFramework.Core.Tests/Architectures/PriorityServiceTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestModelA.cs b/GFramework.Core.Tests/Architectures/PriorityTestModelA.cs index dd1b2838..6c4d02d9 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestModelA.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestModelA.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; using GFramework.Core.Model; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestModelB.cs b/GFramework.Core.Tests/Architectures/PriorityTestModelB.cs index 62560b44..12c8ea95 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestModelB.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestModelB.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; using GFramework.Core.Model; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestModelC.cs b/GFramework.Core.Tests/Architectures/PriorityTestModelC.cs index 2991cc1f..641f8589 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestModelC.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestModelC.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; using GFramework.Core.Model; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestSystemA.cs b/GFramework.Core.Tests/Architectures/PriorityTestSystemA.cs index 3c7baaed..67d64d06 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestSystemA.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestSystemA.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestSystemB.cs b/GFramework.Core.Tests/Architectures/PriorityTestSystemB.cs index 5dbe0fa2..69c1fe99 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestSystemB.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestSystemB.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestSystemC.cs b/GFramework.Core.Tests/Architectures/PriorityTestSystemC.cs index 5033db63..31a9f724 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestSystemC.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestSystemC.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestUtilityA.cs b/GFramework.Core.Tests/Architectures/PriorityTestUtilityA.cs index 52c91a96..bd2f73e2 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestUtilityA.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestUtilityA.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestUtilityB.cs b/GFramework.Core.Tests/Architectures/PriorityTestUtilityB.cs index 3d36ad10..2aea9bf3 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestUtilityB.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestUtilityB.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/PriorityTestUtilityC.cs b/GFramework.Core.Tests/Architectures/PriorityTestUtilityC.cs index 6c164079..90e70c93 100644 --- a/GFramework.Core.Tests/Architectures/PriorityTestUtilityC.cs +++ b/GFramework.Core.Tests/Architectures/PriorityTestUtilityC.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/RegistryInitializationHookBaseTests.cs b/GFramework.Core.Tests/Architectures/RegistryInitializationHookBaseTests.cs index 58f73afb..f38db1d5 100644 --- a/GFramework.Core.Tests/Architectures/RegistryInitializationHookBaseTests.cs +++ b/GFramework.Core.Tests/Architectures/RegistryInitializationHookBaseTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Enums; diff --git a/GFramework.Core.Tests/Architectures/SyncTestArchitecture.cs b/GFramework.Core.Tests/Architectures/SyncTestArchitecture.cs index 64ad4032..9acd6b29 100644 --- a/GFramework.Core.Tests/Architectures/SyncTestArchitecture.cs +++ b/GFramework.Core.Tests/Architectures/SyncTestArchitecture.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Tests.Model; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Tests.Model; using GFramework.Core.Tests.Systems; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/TestArchitecture.cs b/GFramework.Core.Tests/Architectures/TestArchitecture.cs index 686f44ad..07137ea0 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitecture.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitecture.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Architectures; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureBase.cs b/GFramework.Core.Tests/Architectures/TestArchitectureBase.cs index fdd144f7..376d69b4 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureBase.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureBase.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Enums; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Enums; using GFramework.Core.Architectures; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureContext.cs b/GFramework.Core.Tests/Architectures/TestArchitectureContext.cs index e7e67e7e..df235a85 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureContext.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Architectures; /// diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureContextBase.cs b/GFramework.Core.Tests/Architectures/TestArchitectureContextBase.cs index a0fe74cf..fa87db2a 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureContextBase.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureContextBase.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Threading; diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureContextBehaviorTests.cs b/GFramework.Core.Tests/Architectures/TestArchitectureContextBehaviorTests.cs index d784ab1d..e87f26c3 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureContextBehaviorTests.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureContextBehaviorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Threading.Tasks; diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureContextV3.cs b/GFramework.Core.Tests/Architectures/TestArchitectureContextV3.cs index b67a6d98..b6fa8601 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureContextV3.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureContextV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Architectures; /// diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureContextWithRegistry.cs b/GFramework.Core.Tests/Architectures/TestArchitectureContextWithRegistry.cs index 373bfe3e..dafa578f 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureContextWithRegistry.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureContextWithRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Architectures; namespace GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureWithRegistry.cs b/GFramework.Core.Tests/Architectures/TestArchitectureWithRegistry.cs index df0f93e5..2fc0f417 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureWithRegistry.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureWithRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Reflection; diff --git a/GFramework.Core.Tests/Architectures/TestArchitectureWithoutRegistry.cs b/GFramework.Core.Tests/Architectures/TestArchitectureWithoutRegistry.cs index b9387e54..d7eedff5 100644 --- a/GFramework.Core.Tests/Architectures/TestArchitectureWithoutRegistry.cs +++ b/GFramework.Core.Tests/Architectures/TestArchitectureWithoutRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Reflection; diff --git a/GFramework.Core.Tests/Architectures/TestCommandV2.cs b/GFramework.Core.Tests/Architectures/TestCommandV2.cs index d430cff1..ded8499b 100644 --- a/GFramework.Core.Tests/Architectures/TestCommandV2.cs +++ b/GFramework.Core.Tests/Architectures/TestCommandV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Command; diff --git a/GFramework.Core.Tests/Architectures/TestCommandWithResultV2.cs b/GFramework.Core.Tests/Architectures/TestCommandWithResultV2.cs index 571ab4d9..0a022686 100644 --- a/GFramework.Core.Tests/Architectures/TestCommandWithResultV2.cs +++ b/GFramework.Core.Tests/Architectures/TestCommandWithResultV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Command; diff --git a/GFramework.Core.Tests/Architectures/TestEventV2.cs b/GFramework.Core.Tests/Architectures/TestEventV2.cs index 38faf9b1..697c1ea4 100644 --- a/GFramework.Core.Tests/Architectures/TestEventV2.cs +++ b/GFramework.Core.Tests/Architectures/TestEventV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Architectures; /// diff --git a/GFramework.Core.Tests/Architectures/TestModelV2.cs b/GFramework.Core.Tests/Architectures/TestModelV2.cs index bc636a6d..2773debf 100644 --- a/GFramework.Core.Tests/Architectures/TestModelV2.cs +++ b/GFramework.Core.Tests/Architectures/TestModelV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Model; diff --git a/GFramework.Core.Tests/Architectures/TestQueryV2.cs b/GFramework.Core.Tests/Architectures/TestQueryV2.cs index f95c2300..b317ff05 100644 --- a/GFramework.Core.Tests/Architectures/TestQueryV2.cs +++ b/GFramework.Core.Tests/Architectures/TestQueryV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Query; diff --git a/GFramework.Core.Tests/Architectures/TestRegistry.cs b/GFramework.Core.Tests/Architectures/TestRegistry.cs index 4daf601b..2ceee283 100644 --- a/GFramework.Core.Tests/Architectures/TestRegistry.cs +++ b/GFramework.Core.Tests/Architectures/TestRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using GFramework.Core.Abstractions.Utility; diff --git a/GFramework.Core.Tests/Architectures/TestRegistryInitializationHook.cs b/GFramework.Core.Tests/Architectures/TestRegistryInitializationHook.cs index 3241882d..5ecd94fc 100644 --- a/GFramework.Core.Tests/Architectures/TestRegistryInitializationHook.cs +++ b/GFramework.Core.Tests/Architectures/TestRegistryInitializationHook.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Architectures/TestSystemV2.cs b/GFramework.Core.Tests/Architectures/TestSystemV2.cs index 0d8be394..19085dc2 100644 --- a/GFramework.Core.Tests/Architectures/TestSystemV2.cs +++ b/GFramework.Core.Tests/Architectures/TestSystemV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Systems; diff --git a/GFramework.Core.Tests/Architectures/TestUtilityV2.cs b/GFramework.Core.Tests/Architectures/TestUtilityV2.cs index c29b8307..312fcb67 100644 --- a/GFramework.Core.Tests/Architectures/TestUtilityV2.cs +++ b/GFramework.Core.Tests/Architectures/TestUtilityV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Utility; diff --git a/GFramework.Core.Tests/Architectures/TrackingPipelineBehavior.cs b/GFramework.Core.Tests/Architectures/TrackingPipelineBehavior.cs index a9148e96..0725a8cf 100644 --- a/GFramework.Core.Tests/Architectures/TrackingPipelineBehavior.cs +++ b/GFramework.Core.Tests/Architectures/TrackingPipelineBehavior.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Core.Tests/Command/AbstractAsyncCommandTests.cs b/GFramework.Core.Tests/Command/AbstractAsyncCommandTests.cs index f4665286..ae362865 100644 --- a/GFramework.Core.Tests/Command/AbstractAsyncCommandTests.cs +++ b/GFramework.Core.Tests/Command/AbstractAsyncCommandTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Command; using GFramework.Core.Abstractions.Rule; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Command/CommandExecutorTests.cs b/GFramework.Core.Tests/Command/CommandExecutorTests.cs index 1e684e11..869b7384 100644 --- a/GFramework.Core.Tests/Command/CommandExecutorTests.cs +++ b/GFramework.Core.Tests/Command/CommandExecutorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestAsyncCommand.cs b/GFramework.Core.Tests/Command/TestAsyncCommand.cs index 34be2a9c..100eba31 100644 --- a/GFramework.Core.Tests/Command/TestAsyncCommand.cs +++ b/GFramework.Core.Tests/Command/TestAsyncCommand.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestAsyncCommandChildV3.cs b/GFramework.Core.Tests/Command/TestAsyncCommandChildV3.cs index d31d546e..68442d23 100644 --- a/GFramework.Core.Tests/Command/TestAsyncCommandChildV3.cs +++ b/GFramework.Core.Tests/Command/TestAsyncCommandChildV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestAsyncCommandV3.cs b/GFramework.Core.Tests/Command/TestAsyncCommandV3.cs index eab5865f..b1f11250 100644 --- a/GFramework.Core.Tests/Command/TestAsyncCommandV3.cs +++ b/GFramework.Core.Tests/Command/TestAsyncCommandV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestAsyncCommandWithExceptionV3.cs b/GFramework.Core.Tests/Command/TestAsyncCommandWithExceptionV3.cs index 4dc9e2a7..b0b6ce35 100644 --- a/GFramework.Core.Tests/Command/TestAsyncCommandWithExceptionV3.cs +++ b/GFramework.Core.Tests/Command/TestAsyncCommandWithExceptionV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestAsyncCommandWithResult.cs b/GFramework.Core.Tests/Command/TestAsyncCommandWithResult.cs index b3fac25f..6c6bf35b 100644 --- a/GFramework.Core.Tests/Command/TestAsyncCommandWithResult.cs +++ b/GFramework.Core.Tests/Command/TestAsyncCommandWithResult.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestAsyncCommandWithResultChildV3.cs b/GFramework.Core.Tests/Command/TestAsyncCommandWithResultChildV3.cs index 20661821..5f2f3ea2 100644 --- a/GFramework.Core.Tests/Command/TestAsyncCommandWithResultChildV3.cs +++ b/GFramework.Core.Tests/Command/TestAsyncCommandWithResultChildV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestAsyncCommandWithResultV3.cs b/GFramework.Core.Tests/Command/TestAsyncCommandWithResultV3.cs index 43e577b7..1bb3765b 100644 --- a/GFramework.Core.Tests/Command/TestAsyncCommandWithResultV3.cs +++ b/GFramework.Core.Tests/Command/TestAsyncCommandWithResultV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestCommand.cs b/GFramework.Core.Tests/Command/TestCommand.cs index 54e3d6b6..ae593965 100644 --- a/GFramework.Core.Tests/Command/TestCommand.cs +++ b/GFramework.Core.Tests/Command/TestCommand.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestCommandInput.cs b/GFramework.Core.Tests/Command/TestCommandInput.cs index 2ca47099..0dcd2e93 100644 --- a/GFramework.Core.Tests/Command/TestCommandInput.cs +++ b/GFramework.Core.Tests/Command/TestCommandInput.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestCommandInputV2.cs b/GFramework.Core.Tests/Command/TestCommandInputV2.cs index 943f5d99..1ffd5661 100644 --- a/GFramework.Core.Tests/Command/TestCommandInputV2.cs +++ b/GFramework.Core.Tests/Command/TestCommandInputV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Command/TestCommandWithResult.cs b/GFramework.Core.Tests/Command/TestCommandWithResult.cs index d1de53f5..a2d41b95 100644 --- a/GFramework.Core.Tests/Command/TestCommandWithResult.cs +++ b/GFramework.Core.Tests/Command/TestCommandWithResult.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Command; namespace GFramework.Core.Tests.Command; diff --git a/GFramework.Core.Tests/Configuration/ConfigurationManagerTests.cs b/GFramework.Core.Tests/Configuration/ConfigurationManagerTests.cs index 648ca39d..5cfd2543 100644 --- a/GFramework.Core.Tests/Configuration/ConfigurationManagerTests.cs +++ b/GFramework.Core.Tests/Configuration/ConfigurationManagerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Configuration; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Constants/GFrameworkConstantsTests.cs b/GFramework.Core.Tests/Constants/GFrameworkConstantsTests.cs index 1817160a..fb0b1f48 100644 --- a/GFramework.Core.Tests/Constants/GFrameworkConstantsTests.cs +++ b/GFramework.Core.Tests/Constants/GFrameworkConstantsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Constants; namespace GFramework.Core.Tests.Constants; diff --git a/GFramework.Core.Tests/Coroutine/AsyncOperationTests.cs b/GFramework.Core.Tests/Coroutine/AsyncOperationTests.cs index 6f3b080b..d9517c05 100644 --- a/GFramework.Core.Tests/Coroutine/AsyncOperationTests.cs +++ b/GFramework.Core.Tests/Coroutine/AsyncOperationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/CommandCoroutineExtensionsTests.cs b/GFramework.Core.Tests/Coroutine/CommandCoroutineExtensionsTests.cs index 84378a6b..f5470ceb 100644 --- a/GFramework.Core.Tests/Coroutine/CommandCoroutineExtensionsTests.cs +++ b/GFramework.Core.Tests/Coroutine/CommandCoroutineExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Command; using GFramework.Core.Abstractions.Coroutine; diff --git a/GFramework.Core.Tests/Coroutine/ComplexQuery.cs b/GFramework.Core.Tests/Coroutine/ComplexQuery.cs index 69418cd8..2d07e7a6 100644 --- a/GFramework.Core.Tests/Coroutine/ComplexQuery.cs +++ b/GFramework.Core.Tests/Coroutine/ComplexQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Linq; diff --git a/GFramework.Core.Tests/Coroutine/ComplexResult.cs b/GFramework.Core.Tests/Coroutine/ComplexResult.cs index c6501114..a4870587 100644 --- a/GFramework.Core.Tests/Coroutine/ComplexResult.cs +++ b/GFramework.Core.Tests/Coroutine/ComplexResult.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Coroutine; /// diff --git a/GFramework.Core.Tests/Coroutine/CoroutineComposeExtensionsTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineComposeExtensionsTests.cs index d712df05..d0a53e94 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineComposeExtensionsTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineComposeExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Extensions; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineExtensionsTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineExtensionsTests.cs index 91aedf01..2412dd8d 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineExtensionsTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Extensions; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineGroupTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineGroupTests.cs index 4233844b..041f00c0 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineGroupTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineGroupTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineHandleTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineHandleTests.cs index 2205c0b8..dec6c90f 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineHandleTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineHandleTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Coroutine; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineHelperTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineHelperTests.cs index 7899e2dc..c7d8a6c4 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineHelperTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineHelperTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/CoroutinePriorityTests.cs b/GFramework.Core.Tests/Coroutine/CoroutinePriorityTests.cs index a1f150b9..fce83f1b 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutinePriorityTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutinePriorityTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineSchedulerAdvancedTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineSchedulerAdvancedTests.cs index f262cd55..f850751a 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineSchedulerAdvancedTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineSchedulerAdvancedTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineSchedulerTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineSchedulerTests.cs index 991180e3..c43fde55 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineSchedulerTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineSchedulerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Abstractions.Events; using GFramework.Core.Coroutine; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineStateTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineStateTests.cs index f4a4fc93..28087395 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineStateTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineStateTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/CoroutineStatisticsTests.cs b/GFramework.Core.Tests/Coroutine/CoroutineStatisticsTests.cs index cbaaf4c7..802f5b4c 100644 --- a/GFramework.Core.Tests/Coroutine/CoroutineStatisticsTests.cs +++ b/GFramework.Core.Tests/Coroutine/CoroutineStatisticsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/DelayTests.cs b/GFramework.Core.Tests/Coroutine/DelayTests.cs index f0618a02..245483d3 100644 --- a/GFramework.Core.Tests/Coroutine/DelayTests.cs +++ b/GFramework.Core.Tests/Coroutine/DelayTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/FakeTimeSource.cs b/GFramework.Core.Tests/Coroutine/FakeTimeSource.cs index 5de7d3b4..89b52f78 100644 --- a/GFramework.Core.Tests/Coroutine/FakeTimeSource.cs +++ b/GFramework.Core.Tests/Coroutine/FakeTimeSource.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Tests.Coroutine; diff --git a/GFramework.Core.Tests/Coroutine/IntQuery.cs b/GFramework.Core.Tests/Coroutine/IntQuery.cs index 02b8826e..a8570e36 100644 --- a/GFramework.Core.Tests/Coroutine/IntQuery.cs +++ b/GFramework.Core.Tests/Coroutine/IntQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Query; diff --git a/GFramework.Core.Tests/Coroutine/QueryCoroutineExtensionsTests.cs b/GFramework.Core.Tests/Coroutine/QueryCoroutineExtensionsTests.cs index e608b660..60f4dc44 100644 --- a/GFramework.Core.Tests/Coroutine/QueryCoroutineExtensionsTests.cs +++ b/GFramework.Core.Tests/Coroutine/QueryCoroutineExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Abstractions.Query; diff --git a/GFramework.Core.Tests/Coroutine/TaskCoroutineExtensionsTests.cs b/GFramework.Core.Tests/Coroutine/TaskCoroutineExtensionsTests.cs index 9c46223c..ea7dee12 100644 --- a/GFramework.Core.Tests/Coroutine/TaskCoroutineExtensionsTests.cs +++ b/GFramework.Core.Tests/Coroutine/TaskCoroutineExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Extensions; diff --git a/GFramework.Core.Tests/Coroutine/TestTimeSource.cs b/GFramework.Core.Tests/Coroutine/TestTimeSource.cs index 9a62c954..00654008 100644 --- a/GFramework.Core.Tests/Coroutine/TestTimeSource.cs +++ b/GFramework.Core.Tests/Coroutine/TestTimeSource.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Tests.Coroutine; diff --git a/GFramework.Core.Tests/Coroutine/WaitForAllCoroutinesTests.cs b/GFramework.Core.Tests/Coroutine/WaitForAllCoroutinesTests.cs index 3f9ac340..bc84b180 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForAllCoroutinesTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForAllCoroutinesTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Extensions; diff --git a/GFramework.Core.Tests/Coroutine/WaitForConditionChangeTests.cs b/GFramework.Core.Tests/Coroutine/WaitForConditionChangeTests.cs index c79c4d6e..cdc11b5b 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForConditionChangeTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForConditionChangeTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForCoroutineTests.cs b/GFramework.Core.Tests/Coroutine/WaitForCoroutineTests.cs index 14f9b725..0dc3e258 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForCoroutineTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForCoroutineTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForEndOfFrameTests.cs b/GFramework.Core.Tests/Coroutine/WaitForEndOfFrameTests.cs index 511f518f..db8bb400 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForEndOfFrameTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForEndOfFrameTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForEventTests.cs b/GFramework.Core.Tests/Coroutine/WaitForEventTests.cs index 35e25945..20d4d05d 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForEventTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForEventTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Abstractions.Events; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/WaitForEventWithTimeoutTests.cs b/GFramework.Core.Tests/Coroutine/WaitForEventWithTimeoutTests.cs index 7f78b101..ddd1a97b 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForEventWithTimeoutTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForEventWithTimeoutTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Abstractions.Events; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/WaitForFixedUpdateTests.cs b/GFramework.Core.Tests/Coroutine/WaitForFixedUpdateTests.cs index 28aafcf1..d8fbabaf 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForFixedUpdateTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForFixedUpdateTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForFramesTests.cs b/GFramework.Core.Tests/Coroutine/WaitForFramesTests.cs index 88bef6dc..01fc86aa 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForFramesTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForFramesTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForMultipleEventsTests.cs b/GFramework.Core.Tests/Coroutine/WaitForMultipleEventsTests.cs index e35b9a6c..66c155d5 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForMultipleEventsTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForMultipleEventsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Events; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core.Tests/Coroutine/WaitForNextFrameTests.cs b/GFramework.Core.Tests/Coroutine/WaitForNextFrameTests.cs index 709a48de..898294a9 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForNextFrameTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForNextFrameTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForPredicateTests.cs b/GFramework.Core.Tests/Coroutine/WaitForPredicateTests.cs index 64fd0ce1..51d62565 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForPredicateTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForPredicateTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForProgressTests.cs b/GFramework.Core.Tests/Coroutine/WaitForProgressTests.cs index b92ab1a6..2d21e847 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForProgressTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForProgressTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForSecondsRealtimeTests.cs b/GFramework.Core.Tests/Coroutine/WaitForSecondsRealtimeTests.cs index 91524722..db4019f4 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForSecondsRealtimeTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForSecondsRealtimeTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForSecondsScaledTests.cs b/GFramework.Core.Tests/Coroutine/WaitForSecondsScaledTests.cs index 3ce4d78a..db488477 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForSecondsScaledTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForSecondsScaledTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForTaskTTests.cs b/GFramework.Core.Tests/Coroutine/WaitForTaskTTests.cs index 1e3fc8f4..b4c1f19f 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForTaskTTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForTaskTTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitForTaskTests.cs b/GFramework.Core.Tests/Coroutine/WaitForTaskTests.cs index c8d50b39..71831b4a 100644 --- a/GFramework.Core.Tests/Coroutine/WaitForTaskTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitForTaskTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitOneFrameTests.cs b/GFramework.Core.Tests/Coroutine/WaitOneFrameTests.cs index 539eb1ce..452977ae 100644 --- a/GFramework.Core.Tests/Coroutine/WaitOneFrameTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitOneFrameTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitUntilOrTimeoutTests.cs b/GFramework.Core.Tests/Coroutine/WaitUntilOrTimeoutTests.cs index 5489569d..6405f4f7 100644 --- a/GFramework.Core.Tests/Coroutine/WaitUntilOrTimeoutTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitUntilOrTimeoutTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitUntilTests.cs b/GFramework.Core.Tests/Coroutine/WaitUntilTests.cs index d07f2eb6..65f3f716 100644 --- a/GFramework.Core.Tests/Coroutine/WaitUntilTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitUntilTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/WaitWhileTests.cs b/GFramework.Core.Tests/Coroutine/WaitWhileTests.cs index b6a476c9..75bdd2ac 100644 --- a/GFramework.Core.Tests/Coroutine/WaitWhileTests.cs +++ b/GFramework.Core.Tests/Coroutine/WaitWhileTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Coroutine/YieldInstructionTests.cs b/GFramework.Core.Tests/Coroutine/YieldInstructionTests.cs index 7e5d8938..946d4457 100644 --- a/GFramework.Core.Tests/Coroutine/YieldInstructionTests.cs +++ b/GFramework.Core.Tests/Coroutine/YieldInstructionTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Cqrs/CqrsPublicNamespaceCompatibilityTests.cs b/GFramework.Core.Tests/Cqrs/CqrsPublicNamespaceCompatibilityTests.cs index 64f69f02..bbc42c35 100644 --- a/GFramework.Core.Tests/Cqrs/CqrsPublicNamespaceCompatibilityTests.cs +++ b/GFramework.Core.Tests/Cqrs/CqrsPublicNamespaceCompatibilityTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; using GFramework.Cqrs.Abstractions.Cqrs.Command; using GFramework.Cqrs.Abstractions.Cqrs.Notification; diff --git a/GFramework.Core.Tests/Environment/EnvironmentTests.cs b/GFramework.Core.Tests/Environment/EnvironmentTests.cs index 79f9cfc2..122d3325 100644 --- a/GFramework.Core.Tests/Environment/EnvironmentTests.cs +++ b/GFramework.Core.Tests/Environment/EnvironmentTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Environment; using GFramework.Core.Environment; diff --git a/GFramework.Core.Tests/Environment/TestEnvironment.cs b/GFramework.Core.Tests/Environment/TestEnvironment.cs index 10ce3c0c..17f360f3 100644 --- a/GFramework.Core.Tests/Environment/TestEnvironment.cs +++ b/GFramework.Core.Tests/Environment/TestEnvironment.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Environment; namespace GFramework.Core.Tests.Environment; diff --git a/GFramework.Core.Tests/Events/EasyEventsTests.cs b/GFramework.Core.Tests/Events/EasyEventsTests.cs index ccec6b72..c9efd356 100644 --- a/GFramework.Core.Tests/Events/EasyEventsTests.cs +++ b/GFramework.Core.Tests/Events/EasyEventsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Events/EmptyEvent.cs b/GFramework.Core.Tests/Events/EmptyEvent.cs index 60d479e2..edf47717 100644 --- a/GFramework.Core.Tests/Events/EmptyEvent.cs +++ b/GFramework.Core.Tests/Events/EmptyEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Events; /// diff --git a/GFramework.Core.Tests/Events/EventBusPriorityTests.cs b/GFramework.Core.Tests/Events/EventBusPriorityTests.cs index c75405dc..d1b63e9d 100644 --- a/GFramework.Core.Tests/Events/EventBusPriorityTests.cs +++ b/GFramework.Core.Tests/Events/EventBusPriorityTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Events; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Events/EventBusTests.cs b/GFramework.Core.Tests/Events/EventBusTests.cs index 1eb027b3..00ec48c4 100644 --- a/GFramework.Core.Tests/Events/EventBusTests.cs +++ b/GFramework.Core.Tests/Events/EventBusTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Events/EventBusTestsEvent.cs b/GFramework.Core.Tests/Events/EventBusTestsEvent.cs index 6bca770c..e12ff91e 100644 --- a/GFramework.Core.Tests/Events/EventBusTestsEvent.cs +++ b/GFramework.Core.Tests/Events/EventBusTestsEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Events; /// diff --git a/GFramework.Core.Tests/Events/EventFilterTests.cs b/GFramework.Core.Tests/Events/EventFilterTests.cs index 9c7f0a15..3594d4b8 100644 --- a/GFramework.Core.Tests/Events/EventFilterTests.cs +++ b/GFramework.Core.Tests/Events/EventFilterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; using GFramework.Core.Events.Filters; diff --git a/GFramework.Core.Tests/Events/EventListenerScopeTests.cs b/GFramework.Core.Tests/Events/EventListenerScopeTests.cs index 2c6b9569..5018585e 100644 --- a/GFramework.Core.Tests/Events/EventListenerScopeTests.cs +++ b/GFramework.Core.Tests/Events/EventListenerScopeTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.InteropServices; using GFramework.Core.Abstractions.Events; using GFramework.Core.Events; diff --git a/GFramework.Core.Tests/Events/EventStatisticsTests.cs b/GFramework.Core.Tests/Events/EventStatisticsTests.cs index cfa5f68d..2f17a4a5 100644 --- a/GFramework.Core.Tests/Events/EventStatisticsTests.cs +++ b/GFramework.Core.Tests/Events/EventStatisticsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; namespace GFramework.Core.Tests.Events; diff --git a/GFramework.Core.Tests/Events/EventTests.cs b/GFramework.Core.Tests/Events/EventTests.cs index d0dfd7ed..a9f91aa3 100644 --- a/GFramework.Core.Tests/Events/EventTests.cs +++ b/GFramework.Core.Tests/Events/EventTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Events/OrEventTests.cs b/GFramework.Core.Tests/Events/OrEventTests.cs index eb161008..ef91903a 100644 --- a/GFramework.Core.Tests/Events/OrEventTests.cs +++ b/GFramework.Core.Tests/Events/OrEventTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Events/PriorityEventTests.cs b/GFramework.Core.Tests/Events/PriorityEventTests.cs index 1ab7636f..7474c258 100644 --- a/GFramework.Core.Tests/Events/PriorityEventTests.cs +++ b/GFramework.Core.Tests/Events/PriorityEventTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Events; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Events/TestEvent.cs b/GFramework.Core.Tests/Events/TestEvent.cs index d3806918..6f0c914d 100644 --- a/GFramework.Core.Tests/Events/TestEvent.cs +++ b/GFramework.Core.Tests/Events/TestEvent.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Tests.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Tests.Events; /// /// 表示包含整型载荷的测试事件。 diff --git a/GFramework.Core.Tests/Events/UnRegisterTests.cs b/GFramework.Core.Tests/Events/UnRegisterTests.cs index b0d78079..0e9c39ea 100644 --- a/GFramework.Core.Tests/Events/UnRegisterTests.cs +++ b/GFramework.Core.Tests/Events/UnRegisterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; using GFramework.Core.Property; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Events/WeakEventTests.cs b/GFramework.Core.Tests/Events/WeakEventTests.cs index 8dc5897d..8df77aa1 100644 --- a/GFramework.Core.Tests/Events/WeakEventTests.cs +++ b/GFramework.Core.Tests/Events/WeakEventTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; namespace GFramework.Core.Tests.Events; diff --git a/GFramework.Core.Tests/Extensions/ArrayExtensionsTests.cs b/GFramework.Core.Tests/Extensions/ArrayExtensionsTests.cs index 928dff95..50a918ad 100644 --- a/GFramework.Core.Tests/Extensions/ArrayExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/ArrayExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Extensions; /// diff --git a/GFramework.Core.Tests/Extensions/ArrayPoolExtensionsTests.cs b/GFramework.Core.Tests/Extensions/ArrayPoolExtensionsTests.cs index 6eb0110d..ae0e2639 100644 --- a/GFramework.Core.Tests/Extensions/ArrayPoolExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/ArrayPoolExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Buffers; using GFramework.Core.Extensions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Extensions/AsyncExtensionsTests.cs b/GFramework.Core.Tests/Extensions/AsyncExtensionsTests.cs index 71c8b440..0a8e3f6e 100644 --- a/GFramework.Core.Tests/Extensions/AsyncExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/AsyncExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Diagnostics; using GFramework.Core.Extensions; using GFramework.Core.Functional.Async; diff --git a/GFramework.Core.Tests/Extensions/CollectionExtensionsTests.cs b/GFramework.Core.Tests/Extensions/CollectionExtensionsTests.cs index 8b9bce5c..fb518abd 100644 --- a/GFramework.Core.Tests/Extensions/CollectionExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/CollectionExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Extensions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Extensions/GuardExtensionsTests.cs b/GFramework.Core.Tests/Extensions/GuardExtensionsTests.cs index 1fdc1a45..35484c10 100644 --- a/GFramework.Core.Tests/Extensions/GuardExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/GuardExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Extensions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Extensions/NumericExtensionsTests.cs b/GFramework.Core.Tests/Extensions/NumericExtensionsTests.cs index 31fbbc54..86f5008b 100644 --- a/GFramework.Core.Tests/Extensions/NumericExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/NumericExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Extensions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Extensions/ObjectExtensionsTests.cs b/GFramework.Core.Tests/Extensions/ObjectExtensionsTests.cs index 14209d8d..da7717e3 100644 --- a/GFramework.Core.Tests/Extensions/ObjectExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/ObjectExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Extensions; using GFramework.Core.Functional.Pipe; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Extensions/SpanExtensionsTests.cs b/GFramework.Core.Tests/Extensions/SpanExtensionsTests.cs index 725361e6..7e84a7e8 100644 --- a/GFramework.Core.Tests/Extensions/SpanExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/SpanExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Extensions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Extensions/StringExtensionsTests.cs b/GFramework.Core.Tests/Extensions/StringExtensionsTests.cs index fc6d83f9..61129659 100644 --- a/GFramework.Core.Tests/Extensions/StringExtensionsTests.cs +++ b/GFramework.Core.Tests/Extensions/StringExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Extensions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Extensions/TestClass.cs b/GFramework.Core.Tests/Extensions/TestClass.cs index e13683d0..aa550ff0 100644 --- a/GFramework.Core.Tests/Extensions/TestClass.cs +++ b/GFramework.Core.Tests/Extensions/TestClass.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Extensions; /// diff --git a/GFramework.Core.Tests/Extensions/TestUnRegisterList.cs b/GFramework.Core.Tests/Extensions/TestUnRegisterList.cs index 25ed33a6..3777c799 100644 --- a/GFramework.Core.Tests/Extensions/TestUnRegisterList.cs +++ b/GFramework.Core.Tests/Extensions/TestUnRegisterList.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using GFramework.Core.Abstractions.Events; diff --git a/GFramework.Core.Tests/Extensions/UnRegisterListExtensionTests.cs b/GFramework.Core.Tests/Extensions/UnRegisterListExtensionTests.cs index fb2d4864..2b858253 100644 --- a/GFramework.Core.Tests/Extensions/UnRegisterListExtensionTests.cs +++ b/GFramework.Core.Tests/Extensions/UnRegisterListExtensionTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; using GFramework.Core.Extensions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Functional/Control/ControlExtensionsTests.cs b/GFramework.Core.Tests/Functional/Control/ControlExtensionsTests.cs index 5b4edf7f..e02d60f3 100644 --- a/GFramework.Core.Tests/Functional/Control/ControlExtensionsTests.cs +++ b/GFramework.Core.Tests/Functional/Control/ControlExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Functional.Control; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Functional/Functions/FunctionExtensionsTests.cs b/GFramework.Core.Tests/Functional/Functions/FunctionExtensionsTests.cs index a9736a7b..60081975 100644 --- a/GFramework.Core.Tests/Functional/Functions/FunctionExtensionsTests.cs +++ b/GFramework.Core.Tests/Functional/Functions/FunctionExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Functional.Functions; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Functional/Pipe/PipeExtensionsTests.cs b/GFramework.Core.Tests/Functional/Pipe/PipeExtensionsTests.cs index 1d79749e..dd1b4afd 100644 --- a/GFramework.Core.Tests/Functional/Pipe/PipeExtensionsTests.cs +++ b/GFramework.Core.Tests/Functional/Pipe/PipeExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using GFramework.Core.Functional.Pipe; using NUnit.Framework; diff --git a/GFramework.Core.Tests/GFramework.Core.Tests.csproj b/GFramework.Core.Tests/GFramework.Core.Tests.csproj index ff862aa5..08398786 100644 --- a/GFramework.Core.Tests/GFramework.Core.Tests.csproj +++ b/GFramework.Core.Tests/GFramework.Core.Tests.csproj @@ -1,4 +1,9 @@ - + + + net10.0 diff --git a/GFramework.Core.Tests/Ioc/AliasAwareService.cs b/GFramework.Core.Tests/Ioc/AliasAwareService.cs index 65de6dd1..67a2fac7 100644 --- a/GFramework.Core.Tests/Ioc/AliasAwareService.cs +++ b/GFramework.Core.Tests/Ioc/AliasAwareService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/IMixedService.cs b/GFramework.Core.Tests/Ioc/IMixedService.cs index 33c791f5..bb56e4a6 100644 --- a/GFramework.Core.Tests/Ioc/IMixedService.cs +++ b/GFramework.Core.Tests/Ioc/IMixedService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/IPrimaryAliasService.cs b/GFramework.Core.Tests/Ioc/IPrimaryAliasService.cs index c8937b90..554469e9 100644 --- a/GFramework.Core.Tests/Ioc/IPrimaryAliasService.cs +++ b/GFramework.Core.Tests/Ioc/IPrimaryAliasService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/IPrioritizedService.cs b/GFramework.Core.Tests/Ioc/IPrioritizedService.cs index 4e52fe7a..b3f76964 100644 --- a/GFramework.Core.Tests/Ioc/IPrioritizedService.cs +++ b/GFramework.Core.Tests/Ioc/IPrioritizedService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Bases; namespace GFramework.Core.Tests.Ioc; diff --git a/GFramework.Core.Tests/Ioc/ISecondaryAliasService.cs b/GFramework.Core.Tests/Ioc/ISecondaryAliasService.cs index 215cbeef..0c3f1946 100644 --- a/GFramework.Core.Tests/Ioc/ISecondaryAliasService.cs +++ b/GFramework.Core.Tests/Ioc/ISecondaryAliasService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/IService.cs b/GFramework.Core.Tests/Ioc/IService.cs index b9559fef..bba59e0b 100644 --- a/GFramework.Core.Tests/Ioc/IService.cs +++ b/GFramework.Core.Tests/Ioc/IService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/ISharedAliasService.cs b/GFramework.Core.Tests/Ioc/ISharedAliasService.cs index e12425bc..b1135cf6 100644 --- a/GFramework.Core.Tests/Ioc/ISharedAliasService.cs +++ b/GFramework.Core.Tests/Ioc/ISharedAliasService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/IocContainerLifetimeTests.cs b/GFramework.Core.Tests/Ioc/IocContainerLifetimeTests.cs index 4cad8491..d0dcdd08 100644 --- a/GFramework.Core.Tests/Ioc/IocContainerLifetimeTests.cs +++ b/GFramework.Core.Tests/Ioc/IocContainerLifetimeTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Ioc; using Microsoft.Extensions.DependencyInjection; diff --git a/GFramework.Core.Tests/Ioc/MicrosoftDiContainerTests.cs b/GFramework.Core.Tests/Ioc/MicrosoftDiContainerTests.cs index b9a96094..820cfa66 100644 --- a/GFramework.Core.Tests/Ioc/MicrosoftDiContainerTests.cs +++ b/GFramework.Core.Tests/Ioc/MicrosoftDiContainerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Core.Tests/Ioc/NonPrioritizedService.cs b/GFramework.Core.Tests/Ioc/NonPrioritizedService.cs index 7f4f87d9..ecd79af5 100644 --- a/GFramework.Core.Tests/Ioc/NonPrioritizedService.cs +++ b/GFramework.Core.Tests/Ioc/NonPrioritizedService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/PrioritizedService.cs b/GFramework.Core.Tests/Ioc/PrioritizedService.cs index 1c20cb94..05720ff0 100644 --- a/GFramework.Core.Tests/Ioc/PrioritizedService.cs +++ b/GFramework.Core.Tests/Ioc/PrioritizedService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Ioc/TestService.cs b/GFramework.Core.Tests/Ioc/TestService.cs index 21dc1faa..b4f97f85 100644 --- a/GFramework.Core.Tests/Ioc/TestService.cs +++ b/GFramework.Core.Tests/Ioc/TestService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Ioc; /// diff --git a/GFramework.Core.Tests/Localization/LocalizationIntegrationTests.cs b/GFramework.Core.Tests/Localization/LocalizationIntegrationTests.cs index e37c1be8..2992171a 100644 --- a/GFramework.Core.Tests/Localization/LocalizationIntegrationTests.cs +++ b/GFramework.Core.Tests/Localization/LocalizationIntegrationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Localization; using GFramework.Core.Localization; diff --git a/GFramework.Core.Tests/Localization/LocalizationTableTests.cs b/GFramework.Core.Tests/Localization/LocalizationTableTests.cs index 838ab147..b62f0299 100644 --- a/GFramework.Core.Tests/Localization/LocalizationTableTests.cs +++ b/GFramework.Core.Tests/Localization/LocalizationTableTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Localization; namespace GFramework.Core.Tests.Localization; diff --git a/GFramework.Core.Tests/Logging/AsyncLogAppenderTests.cs b/GFramework.Core.Tests/Logging/AsyncLogAppenderTests.cs index 9e4590b5..1aa63182 100644 --- a/GFramework.Core.Tests/Logging/AsyncLogAppenderTests.cs +++ b/GFramework.Core.Tests/Logging/AsyncLogAppenderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Appenders; diff --git a/GFramework.Core.Tests/Logging/CachedLoggerFactoryTests.cs b/GFramework.Core.Tests/Logging/CachedLoggerFactoryTests.cs index 1a1fa9e6..a721522e 100644 --- a/GFramework.Core.Tests/Logging/CachedLoggerFactoryTests.cs +++ b/GFramework.Core.Tests/Logging/CachedLoggerFactoryTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging; diff --git a/GFramework.Core.Tests/Logging/CompositeFilterTests.cs b/GFramework.Core.Tests/Logging/CompositeFilterTests.cs index f08fcbf3..2564dbd7 100644 --- a/GFramework.Core.Tests/Logging/CompositeFilterTests.cs +++ b/GFramework.Core.Tests/Logging/CompositeFilterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Filters; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Logging/CompositeLoggerTests.cs b/GFramework.Core.Tests/Logging/CompositeLoggerTests.cs index 2a442843..26fadbc5 100644 --- a/GFramework.Core.Tests/Logging/CompositeLoggerTests.cs +++ b/GFramework.Core.Tests/Logging/CompositeLoggerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging; diff --git a/GFramework.Core.Tests/Logging/ConfigurableLoggerFactoryTests.cs b/GFramework.Core.Tests/Logging/ConfigurableLoggerFactoryTests.cs index b20dd184..2080c66c 100644 --- a/GFramework.Core.Tests/Logging/ConfigurableLoggerFactoryTests.cs +++ b/GFramework.Core.Tests/Logging/ConfigurableLoggerFactoryTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging; diff --git a/GFramework.Core.Tests/Logging/ConsoleAppenderTests.cs b/GFramework.Core.Tests/Logging/ConsoleAppenderTests.cs index 3986e2e8..664a23c2 100644 --- a/GFramework.Core.Tests/Logging/ConsoleAppenderTests.cs +++ b/GFramework.Core.Tests/Logging/ConsoleAppenderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Appenders; diff --git a/GFramework.Core.Tests/Logging/ConsoleLoggerTests.cs b/GFramework.Core.Tests/Logging/ConsoleLoggerTests.cs index 38a38292..cdc91773 100644 --- a/GFramework.Core.Tests/Logging/ConsoleLoggerTests.cs +++ b/GFramework.Core.Tests/Logging/ConsoleLoggerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging; diff --git a/GFramework.Core.Tests/Logging/DefaultLogFormatterTests.cs b/GFramework.Core.Tests/Logging/DefaultLogFormatterTests.cs index 9d607520..12777120 100644 --- a/GFramework.Core.Tests/Logging/DefaultLogFormatterTests.cs +++ b/GFramework.Core.Tests/Logging/DefaultLogFormatterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Formatters; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Logging/FileAppenderTests.cs b/GFramework.Core.Tests/Logging/FileAppenderTests.cs index abaad6ac..03e4e7b0 100644 --- a/GFramework.Core.Tests/Logging/FileAppenderTests.cs +++ b/GFramework.Core.Tests/Logging/FileAppenderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Appenders; diff --git a/GFramework.Core.Tests/Logging/JsonLogFormatterTests.cs b/GFramework.Core.Tests/Logging/JsonLogFormatterTests.cs index 138b7dc3..f3836856 100644 --- a/GFramework.Core.Tests/Logging/JsonLogFormatterTests.cs +++ b/GFramework.Core.Tests/Logging/JsonLogFormatterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Text.Json; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Formatters; diff --git a/GFramework.Core.Tests/Logging/LogContextTests.cs b/GFramework.Core.Tests/Logging/LogContextTests.cs index 59f468f6..120eb116 100644 --- a/GFramework.Core.Tests/Logging/LogContextTests.cs +++ b/GFramework.Core.Tests/Logging/LogContextTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Logging/LogEntryTests.cs b/GFramework.Core.Tests/Logging/LogEntryTests.cs index bd7f2e9b..8edd350c 100644 --- a/GFramework.Core.Tests/Logging/LogEntryTests.cs +++ b/GFramework.Core.Tests/Logging/LogEntryTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Logging/LogLevelFilterTests.cs b/GFramework.Core.Tests/Logging/LogLevelFilterTests.cs index 22da49ee..5519bc76 100644 --- a/GFramework.Core.Tests/Logging/LogLevelFilterTests.cs +++ b/GFramework.Core.Tests/Logging/LogLevelFilterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Filters; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Logging/LoggerFactoryTests.cs b/GFramework.Core.Tests/Logging/LoggerFactoryTests.cs index d175b32f..93433866 100644 --- a/GFramework.Core.Tests/Logging/LoggerFactoryTests.cs +++ b/GFramework.Core.Tests/Logging/LoggerFactoryTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using System.Reflection; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core.Tests/Logging/LoggerTests.cs b/GFramework.Core.Tests/Logging/LoggerTests.cs index f26e68b6..65a2685d 100644 --- a/GFramework.Core.Tests/Logging/LoggerTests.cs +++ b/GFramework.Core.Tests/Logging/LoggerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Logging/LoggingConfigurationTests.cs b/GFramework.Core.Tests/Logging/LoggingConfigurationTests.cs index 533d368c..1c7fc8ee 100644 --- a/GFramework.Core.Tests/Logging/LoggingConfigurationTests.cs +++ b/GFramework.Core.Tests/Logging/LoggingConfigurationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using System.Text.Json; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core.Tests/Logging/NamespaceFilterTests.cs b/GFramework.Core.Tests/Logging/NamespaceFilterTests.cs index aaf0fbe1..ec5b7adf 100644 --- a/GFramework.Core.Tests/Logging/NamespaceFilterTests.cs +++ b/GFramework.Core.Tests/Logging/NamespaceFilterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Filters; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Logging/RollingFileAppenderTests.cs b/GFramework.Core.Tests/Logging/RollingFileAppenderTests.cs index 5cce91e3..99e100d9 100644 --- a/GFramework.Core.Tests/Logging/RollingFileAppenderTests.cs +++ b/GFramework.Core.Tests/Logging/RollingFileAppenderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Appenders; diff --git a/GFramework.Core.Tests/Logging/SamplingFilterTests.cs b/GFramework.Core.Tests/Logging/SamplingFilterTests.cs index c647fcb3..dff7cea5 100644 --- a/GFramework.Core.Tests/Logging/SamplingFilterTests.cs +++ b/GFramework.Core.Tests/Logging/SamplingFilterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Filters; using GFramework.Core.Tests.Time; diff --git a/GFramework.Core.Tests/Logging/StatisticsAppenderTests.cs b/GFramework.Core.Tests/Logging/StatisticsAppenderTests.cs index 8e19f065..b9336ec9 100644 --- a/GFramework.Core.Tests/Logging/StatisticsAppenderTests.cs +++ b/GFramework.Core.Tests/Logging/StatisticsAppenderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Appenders; using GFramework.Core.Tests.Time; diff --git a/GFramework.Core.Tests/Logging/TestLogger.cs b/GFramework.Core.Tests/Logging/TestLogger.cs index 317123e8..f3420b30 100644 --- a/GFramework.Core.Tests/Logging/TestLogger.cs +++ b/GFramework.Core.Tests/Logging/TestLogger.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Threading; diff --git a/GFramework.Core.Tests/Model/AsyncTestModel.cs b/GFramework.Core.Tests/Model/AsyncTestModel.cs index f2b2d56c..4b7bf90d 100644 --- a/GFramework.Core.Tests/Model/AsyncTestModel.cs +++ b/GFramework.Core.Tests/Model/AsyncTestModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Lifecycle; using GFramework.Core.Model; diff --git a/GFramework.Core.Tests/Model/FailingModel.cs b/GFramework.Core.Tests/Model/FailingModel.cs index 5f692080..51f8dc86 100644 --- a/GFramework.Core.Tests/Model/FailingModel.cs +++ b/GFramework.Core.Tests/Model/FailingModel.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Model; diff --git a/GFramework.Core.Tests/Model/ITestModel.cs b/GFramework.Core.Tests/Model/ITestModel.cs index bfe0a226..e1c11596 100644 --- a/GFramework.Core.Tests/Model/ITestModel.cs +++ b/GFramework.Core.Tests/Model/ITestModel.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Model; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Model; namespace GFramework.Core.Tests.Model; diff --git a/GFramework.Core.Tests/Model/TestModel.cs b/GFramework.Core.Tests/Model/TestModel.cs index 38145070..55ae3b2c 100644 --- a/GFramework.Core.Tests/Model/TestModel.cs +++ b/GFramework.Core.Tests/Model/TestModel.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Enums; using GFramework.Core.Model; diff --git a/GFramework.Core.Tests/Packaging/TransitiveGlobalUsingsPackagingTests.cs b/GFramework.Core.Tests/Packaging/TransitiveGlobalUsingsPackagingTests.cs index 78bda4b6..78c13126 100644 --- a/GFramework.Core.Tests/Packaging/TransitiveGlobalUsingsPackagingTests.cs +++ b/GFramework.Core.Tests/Packaging/TransitiveGlobalUsingsPackagingTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using System.Runtime.CompilerServices; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Pause/PauseStackManagerTests.cs b/GFramework.Core.Tests/Pause/PauseStackManagerTests.cs index fa870b59..045e2e1b 100644 --- a/GFramework.Core.Tests/Pause/PauseStackManagerTests.cs +++ b/GFramework.Core.Tests/Pause/PauseStackManagerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Pause; using GFramework.Core.Pause; diff --git a/GFramework.Core.Tests/Pool/ObjectPoolTests.cs b/GFramework.Core.Tests/Pool/ObjectPoolTests.cs index 44ebc909..2008478d 100644 --- a/GFramework.Core.Tests/Pool/ObjectPoolTests.cs +++ b/GFramework.Core.Tests/Pool/ObjectPoolTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using NUnit.Framework; namespace GFramework.Core.Tests.Pool; diff --git a/GFramework.Core.Tests/Pool/StringBuilderPoolTests.cs b/GFramework.Core.Tests/Pool/StringBuilderPoolTests.cs index ccfa58b1..aa7c8718 100644 --- a/GFramework.Core.Tests/Pool/StringBuilderPoolTests.cs +++ b/GFramework.Core.Tests/Pool/StringBuilderPoolTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Pool; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Pool/TestObjectPool.cs b/GFramework.Core.Tests/Pool/TestObjectPool.cs index 303db8db..aa224007 100644 --- a/GFramework.Core.Tests/Pool/TestObjectPool.cs +++ b/GFramework.Core.Tests/Pool/TestObjectPool.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Pool; namespace GFramework.Core.Tests.Pool; diff --git a/GFramework.Core.Tests/Pool/TestPoolableObject.cs b/GFramework.Core.Tests/Pool/TestPoolableObject.cs index 2b1f0750..ea7433bc 100644 --- a/GFramework.Core.Tests/Pool/TestPoolableObject.cs +++ b/GFramework.Core.Tests/Pool/TestPoolableObject.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Pool; namespace GFramework.Core.Tests.Pool; diff --git a/GFramework.Core.Tests/Property/BindablePropertyTests.cs b/GFramework.Core.Tests/Property/BindablePropertyTests.cs index 6d337d51..b1b07fa7 100644 --- a/GFramework.Core.Tests/Property/BindablePropertyTests.cs +++ b/GFramework.Core.Tests/Property/BindablePropertyTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Property; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Query/AbstractAsyncQueryTests.cs b/GFramework.Core.Tests/Query/AbstractAsyncQueryTests.cs index 6a0edde2..44f939a0 100644 --- a/GFramework.Core.Tests/Query/AbstractAsyncQueryTests.cs +++ b/GFramework.Core.Tests/Query/AbstractAsyncQueryTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Query; using GFramework.Core.Abstractions.Rule; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Query/AsyncQueryExecutorTests.cs b/GFramework.Core.Tests/Query/AsyncQueryExecutorTests.cs index 06844ab0..434c8600 100644 --- a/GFramework.Core.Tests/Query/AsyncQueryExecutorTests.cs +++ b/GFramework.Core.Tests/Query/AsyncQueryExecutorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/QueryExecutorTests.cs b/GFramework.Core.Tests/Query/QueryExecutorTests.cs index b6feeac3..fc2415cc 100644 --- a/GFramework.Core.Tests/Query/QueryExecutorTests.cs +++ b/GFramework.Core.Tests/Query/QueryExecutorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncBooleanQuery.cs b/GFramework.Core.Tests/Query/TestAsyncBooleanQuery.cs index ccf2f635..2dea5b4b 100644 --- a/GFramework.Core.Tests/Query/TestAsyncBooleanQuery.cs +++ b/GFramework.Core.Tests/Query/TestAsyncBooleanQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncComplexQuery.cs b/GFramework.Core.Tests/Query/TestAsyncComplexQuery.cs index ca575a3c..9e1e3318 100644 --- a/GFramework.Core.Tests/Query/TestAsyncComplexQuery.cs +++ b/GFramework.Core.Tests/Query/TestAsyncComplexQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncComplexQueryV4.cs b/GFramework.Core.Tests/Query/TestAsyncComplexQueryV4.cs index 01e854e7..fafeee64 100644 --- a/GFramework.Core.Tests/Query/TestAsyncComplexQueryV4.cs +++ b/GFramework.Core.Tests/Query/TestAsyncComplexQueryV4.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncQuery.cs b/GFramework.Core.Tests/Query/TestAsyncQuery.cs index 1c0fceda..09d368f9 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQuery.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryChildV4.cs b/GFramework.Core.Tests/Query/TestAsyncQueryChildV4.cs index f931a52f..7abef99f 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryChildV4.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryChildV4.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryInput.cs b/GFramework.Core.Tests/Query/TestAsyncQueryInput.cs index 67b59855..cb7cf5ed 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryInput.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryInput.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryInputV2.cs b/GFramework.Core.Tests/Query/TestAsyncQueryInputV2.cs index cba1d6d1..e7a8bc9b 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryInputV2.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryInputV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryResult.cs b/GFramework.Core.Tests/Query/TestAsyncQueryResult.cs index ea156ef4..2c7a2cc4 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryResult.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryResult.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Query; /// diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryResultV2.cs b/GFramework.Core.Tests/Query/TestAsyncQueryResultV2.cs index 91174cef..6b81947d 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryResultV2.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryResultV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Query; /// diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryV4.cs b/GFramework.Core.Tests/Query/TestAsyncQueryV4.cs index a01e42c1..ee9eda2f 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryV4.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryV4.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryWithException.cs b/GFramework.Core.Tests/Query/TestAsyncQueryWithException.cs index a5a11da5..b676fcb6 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryWithException.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryWithException.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncQueryWithExceptionV4.cs b/GFramework.Core.Tests/Query/TestAsyncQueryWithExceptionV4.cs index 3c9ac640..74071c50 100644 --- a/GFramework.Core.Tests/Query/TestAsyncQueryWithExceptionV4.cs +++ b/GFramework.Core.Tests/Query/TestAsyncQueryWithExceptionV4.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncStringQuery.cs b/GFramework.Core.Tests/Query/TestAsyncStringQuery.cs index 6224f0f7..4ffd0645 100644 --- a/GFramework.Core.Tests/Query/TestAsyncStringQuery.cs +++ b/GFramework.Core.Tests/Query/TestAsyncStringQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestAsyncStringQueryV4.cs b/GFramework.Core.Tests/Query/TestAsyncStringQueryV4.cs index 59d313d5..512023ce 100644 --- a/GFramework.Core.Tests/Query/TestAsyncStringQueryV4.cs +++ b/GFramework.Core.Tests/Query/TestAsyncStringQueryV4.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestQuery.cs b/GFramework.Core.Tests/Query/TestQuery.cs index d6a1acd2..fc3d2de3 100644 --- a/GFramework.Core.Tests/Query/TestQuery.cs +++ b/GFramework.Core.Tests/Query/TestQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestQueryInput.cs b/GFramework.Core.Tests/Query/TestQueryInput.cs index e683e3aa..723709a3 100644 --- a/GFramework.Core.Tests/Query/TestQueryInput.cs +++ b/GFramework.Core.Tests/Query/TestQueryInput.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Query/TestStringQuery.cs b/GFramework.Core.Tests/Query/TestStringQuery.cs index 04c0df5a..8b59bcd6 100644 --- a/GFramework.Core.Tests/Query/TestStringQuery.cs +++ b/GFramework.Core.Tests/Query/TestStringQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Query; namespace GFramework.Core.Tests.Query; diff --git a/GFramework.Core.Tests/Resource/ResourceManagerTests.cs b/GFramework.Core.Tests/Resource/ResourceManagerTests.cs index d91f447b..cd2af904 100644 --- a/GFramework.Core.Tests/Resource/ResourceManagerTests.cs +++ b/GFramework.Core.Tests/Resource/ResourceManagerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Resource; using NUnit.Framework; diff --git a/GFramework.Core.Tests/Resource/TestResource.cs b/GFramework.Core.Tests/Resource/TestResource.cs index a9f78cae..0aa29893 100644 --- a/GFramework.Core.Tests/Resource/TestResource.cs +++ b/GFramework.Core.Tests/Resource/TestResource.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Tests.Resource; /// diff --git a/GFramework.Core.Tests/Resource/TestResourceLoader.cs b/GFramework.Core.Tests/Resource/TestResourceLoader.cs index c31bf941..f4caaf77 100644 --- a/GFramework.Core.Tests/Resource/TestResourceLoader.cs +++ b/GFramework.Core.Tests/Resource/TestResourceLoader.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.IO; diff --git a/GFramework.Core.Tests/Rule/ContextAwareEnvironmentExtensionsTests.cs b/GFramework.Core.Tests/Rule/ContextAwareEnvironmentExtensionsTests.cs index 4fb94ed1..d073de19 100644 --- a/GFramework.Core.Tests/Rule/ContextAwareEnvironmentExtensionsTests.cs +++ b/GFramework.Core.Tests/Rule/ContextAwareEnvironmentExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Environment; using GFramework.Core.Abstractions.Rule; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Rule/ContextAwareEventExtensionsTests.cs b/GFramework.Core.Tests/Rule/ContextAwareEventExtensionsTests.cs index 0ee563c1..a507cf5f 100644 --- a/GFramework.Core.Tests/Rule/ContextAwareEventExtensionsTests.cs +++ b/GFramework.Core.Tests/Rule/ContextAwareEventExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.Rule; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Rule/ContextAwareServiceExtensionsTests.cs b/GFramework.Core.Tests/Rule/ContextAwareServiceExtensionsTests.cs index 5035903b..cda197f5 100644 --- a/GFramework.Core.Tests/Rule/ContextAwareServiceExtensionsTests.cs +++ b/GFramework.Core.Tests/Rule/ContextAwareServiceExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Model; diff --git a/GFramework.Core.Tests/Rule/ContextAwareTests.cs b/GFramework.Core.Tests/Rule/ContextAwareTests.cs index d446c3bc..eba932f9 100644 --- a/GFramework.Core.Tests/Rule/ContextAwareTests.cs +++ b/GFramework.Core.Tests/Rule/ContextAwareTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Rule; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Rule/TestContextAware.cs b/GFramework.Core.Tests/Rule/TestContextAware.cs index df2ba7cf..9dedc63f 100644 --- a/GFramework.Core.Tests/Rule/TestContextAware.cs +++ b/GFramework.Core.Tests/Rule/TestContextAware.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Rule; diff --git a/GFramework.Core.Tests/State/ConcreteAsyncStateV2.cs b/GFramework.Core.Tests/State/ConcreteAsyncStateV2.cs index 7809026d..680f5f39 100644 --- a/GFramework.Core.Tests/State/ConcreteAsyncStateV2.cs +++ b/GFramework.Core.Tests/State/ConcreteAsyncStateV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/ConcreteStateV2.cs b/GFramework.Core.Tests/State/ConcreteStateV2.cs index b424aa8a..07c0b963 100644 --- a/GFramework.Core.Tests/State/ConcreteStateV2.cs +++ b/GFramework.Core.Tests/State/ConcreteStateV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/ConcreteStateV3.cs b/GFramework.Core.Tests/State/ConcreteStateV3.cs index 245d72f0..c9901bdc 100644 --- a/GFramework.Core.Tests/State/ConcreteStateV3.cs +++ b/GFramework.Core.Tests/State/ConcreteStateV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/ConcreteStateV4.cs b/GFramework.Core.Tests/State/ConcreteStateV4.cs index 3a919e11..aa75236e 100644 --- a/GFramework.Core.Tests/State/ConcreteStateV4.cs +++ b/GFramework.Core.Tests/State/ConcreteStateV4.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/ConditionalStateV2.cs b/GFramework.Core.Tests/State/ConditionalStateV2.cs index 53715f4d..eaf07773 100644 --- a/GFramework.Core.Tests/State/ConditionalStateV2.cs +++ b/GFramework.Core.Tests/State/ConditionalStateV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/StateMachineExtensions.cs b/GFramework.Core.Tests/State/StateMachineExtensions.cs index 685471a9..1bed1fb9 100644 --- a/GFramework.Core.Tests/State/StateMachineExtensions.cs +++ b/GFramework.Core.Tests/State/StateMachineExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.State; using GFramework.Core.State; diff --git a/GFramework.Core.Tests/State/StateMachineSystemTests.cs b/GFramework.Core.Tests/State/StateMachineSystemTests.cs index cb22d56d..2ff5f1a0 100644 --- a/GFramework.Core.Tests/State/StateMachineSystemTests.cs +++ b/GFramework.Core.Tests/State/StateMachineSystemTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core.Tests/State/StateMachineTests.cs b/GFramework.Core.Tests/State/StateMachineTests.cs index f8fbf2c6..f4d3b119 100644 --- a/GFramework.Core.Tests/State/StateMachineTests.cs +++ b/GFramework.Core.Tests/State/StateMachineTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; using GFramework.Core.State; using NUnit.Framework; diff --git a/GFramework.Core.Tests/State/StateTests.cs b/GFramework.Core.Tests/State/StateTests.cs index 3feeb195..e1d60503 100644 --- a/GFramework.Core.Tests/State/StateTests.cs +++ b/GFramework.Core.Tests/State/StateTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; using NUnit.Framework; diff --git a/GFramework.Core.Tests/State/TestAsyncState.cs b/GFramework.Core.Tests/State/TestAsyncState.cs index 558afad3..d4fcda93 100644 --- a/GFramework.Core.Tests/State/TestAsyncState.cs +++ b/GFramework.Core.Tests/State/TestAsyncState.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/TestContextAwareStateV5.cs b/GFramework.Core.Tests/State/TestContextAwareStateV5.cs index e5903d9d..ded84ff0 100644 --- a/GFramework.Core.Tests/State/TestContextAwareStateV5.cs +++ b/GFramework.Core.Tests/State/TestContextAwareStateV5.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; using GFramework.Core.State; diff --git a/GFramework.Core.Tests/State/TestContextAwareStateV5_2.cs b/GFramework.Core.Tests/State/TestContextAwareStateV5_2.cs index b810c479..c610afea 100644 --- a/GFramework.Core.Tests/State/TestContextAwareStateV5_2.cs +++ b/GFramework.Core.Tests/State/TestContextAwareStateV5_2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; using GFramework.Core.State; diff --git a/GFramework.Core.Tests/State/TestStateMachineSystemV5.cs b/GFramework.Core.Tests/State/TestStateMachineSystemV5.cs index 9b80dfd6..437c9f05 100644 --- a/GFramework.Core.Tests/State/TestStateMachineSystemV5.cs +++ b/GFramework.Core.Tests/State/TestStateMachineSystemV5.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Collections.ObjectModel; diff --git a/GFramework.Core.Tests/State/TestStateV2.cs b/GFramework.Core.Tests/State/TestStateV2.cs index 2d2f26d2..07d81853 100644 --- a/GFramework.Core.Tests/State/TestStateV2.cs +++ b/GFramework.Core.Tests/State/TestStateV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/TestStateV3.cs b/GFramework.Core.Tests/State/TestStateV3.cs index 9bb05e4c..6d35da7f 100644 --- a/GFramework.Core.Tests/State/TestStateV3.cs +++ b/GFramework.Core.Tests/State/TestStateV3.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/TestStateV4.cs b/GFramework.Core.Tests/State/TestStateV4.cs index 50788354..ef7b940a 100644 --- a/GFramework.Core.Tests/State/TestStateV4.cs +++ b/GFramework.Core.Tests/State/TestStateV4.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/TestStateV5.cs b/GFramework.Core.Tests/State/TestStateV5.cs index 64aee177..d101b52c 100644 --- a/GFramework.Core.Tests/State/TestStateV5.cs +++ b/GFramework.Core.Tests/State/TestStateV5.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/TestStateV5_2.cs b/GFramework.Core.Tests/State/TestStateV5_2.cs index 190864ce..6659ec86 100644 --- a/GFramework.Core.Tests/State/TestStateV5_2.cs +++ b/GFramework.Core.Tests/State/TestStateV5_2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/State/TrackingStateV2.cs b/GFramework.Core.Tests/State/TrackingStateV2.cs index 0bd5cab3..bf59b99f 100644 --- a/GFramework.Core.Tests/State/TrackingStateV2.cs +++ b/GFramework.Core.Tests/State/TrackingStateV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.Tests.State; diff --git a/GFramework.Core.Tests/StateManagement/StoreEventBusExtensionsTests.cs b/GFramework.Core.Tests/StateManagement/StoreEventBusExtensionsTests.cs index 70b3eda3..e417ab35 100644 --- a/GFramework.Core.Tests/StateManagement/StoreEventBusExtensionsTests.cs +++ b/GFramework.Core.Tests/StateManagement/StoreEventBusExtensionsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Events; namespace GFramework.Core.Tests.StateManagement; diff --git a/GFramework.Core.Tests/StateManagement/StoreTests.cs b/GFramework.Core.Tests/StateManagement/StoreTests.cs index b27c251e..35182fb0 100644 --- a/GFramework.Core.Tests/StateManagement/StoreTests.cs +++ b/GFramework.Core.Tests/StateManagement/StoreTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections; using System.Reflection; diff --git a/GFramework.Core.Tests/Systems/AsyncTestSystem.cs b/GFramework.Core.Tests/Systems/AsyncTestSystem.cs index 3e2880ad..3042cba5 100644 --- a/GFramework.Core.Tests/Systems/AsyncTestSystem.cs +++ b/GFramework.Core.Tests/Systems/AsyncTestSystem.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Lifecycle; using GFramework.Core.Abstractions.Systems; diff --git a/GFramework.Core.Tests/Systems/TestSystem.cs b/GFramework.Core.Tests/Systems/TestSystem.cs index 98d55809..aa348dbb 100644 --- a/GFramework.Core.Tests/Systems/TestSystem.cs +++ b/GFramework.Core.Tests/Systems/TestSystem.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Systems; diff --git a/GFramework.Core.Tests/Tests/ArchitectureTestsBase.cs b/GFramework.Core.Tests/Tests/ArchitectureTestsBase.cs index d979ef99..05fb283e 100644 --- a/GFramework.Core.Tests/Tests/ArchitectureTestsBase.cs +++ b/GFramework.Core.Tests/Tests/ArchitectureTestsBase.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Enums; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Enums; using GFramework.Core.Architectures; namespace GFramework.Core.Tests.Tests; diff --git a/GFramework.Core.Tests/Tests/AsyncArchitectureTests.cs b/GFramework.Core.Tests/Tests/AsyncArchitectureTests.cs index b95a70e2..ac814bf9 100644 --- a/GFramework.Core.Tests/Tests/AsyncArchitectureTests.cs +++ b/GFramework.Core.Tests/Tests/AsyncArchitectureTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Enums; using GFramework.Core.Tests.Architectures; using GFramework.Core.Tests.Model; diff --git a/GFramework.Core.Tests/Tests/SyncArchitectureTests.cs b/GFramework.Core.Tests/Tests/SyncArchitectureTests.cs index 751e32bb..e52f385e 100644 --- a/GFramework.Core.Tests/Tests/SyncArchitectureTests.cs +++ b/GFramework.Core.Tests/Tests/SyncArchitectureTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Enums; using GFramework.Core.Architectures; using GFramework.Core.Tests.Architectures; diff --git a/GFramework.Core.Tests/Time/FakeTimeProvider.cs b/GFramework.Core.Tests/Time/FakeTimeProvider.cs index f142deb9..253a7dbf 100644 --- a/GFramework.Core.Tests/Time/FakeTimeProvider.cs +++ b/GFramework.Core.Tests/Time/FakeTimeProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Time; namespace GFramework.Core.Tests.Time; diff --git a/GFramework.Core.Tests/Utility/AbstractContextUtilityTests.cs b/GFramework.Core.Tests/Utility/AbstractContextUtilityTests.cs index da01d06a..56bae2d1 100644 --- a/GFramework.Core.Tests/Utility/AbstractContextUtilityTests.cs +++ b/GFramework.Core.Tests/Utility/AbstractContextUtilityTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Rule; using GFramework.Core.Abstractions.Utility; using GFramework.Core.Architectures; diff --git a/GFramework.Core.Tests/Utility/NumericDisplayFormatterTests.cs b/GFramework.Core.Tests/Utility/NumericDisplayFormatterTests.cs index 0f6c44ef..78f92c9a 100644 --- a/GFramework.Core.Tests/Utility/NumericDisplayFormatterTests.cs +++ b/GFramework.Core.Tests/Utility/NumericDisplayFormatterTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using GFramework.Core.Abstractions.Utility.Numeric; using GFramework.Core.Extensions; diff --git a/GFramework.Core.Tests/Utility/TestContextUtilityV1.cs b/GFramework.Core.Tests/Utility/TestContextUtilityV1.cs index 9140ee72..c7a82a51 100644 --- a/GFramework.Core.Tests/Utility/TestContextUtilityV1.cs +++ b/GFramework.Core.Tests/Utility/TestContextUtilityV1.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Utility; diff --git a/GFramework.Core.Tests/Utility/TestContextUtilityV2.cs b/GFramework.Core.Tests/Utility/TestContextUtilityV2.cs index d52d7067..ebda3587 100644 --- a/GFramework.Core.Tests/Utility/TestContextUtilityV2.cs +++ b/GFramework.Core.Tests/Utility/TestContextUtilityV2.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Utility; namespace GFramework.Core.Tests.Utility; diff --git a/GFramework.Core/Architectures/Architecture.cs b/GFramework.Core/Architectures/Architecture.cs index 509fd94a..8bb71c62 100644 --- a/GFramework.Core/Architectures/Architecture.cs +++ b/GFramework.Core/Architectures/Architecture.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; diff --git a/GFramework.Core/Architectures/ArchitectureBootstrapper.cs b/GFramework.Core/Architectures/ArchitectureBootstrapper.cs index ae0bdd38..0d46bf27 100644 --- a/GFramework.Core/Architectures/ArchitectureBootstrapper.cs +++ b/GFramework.Core/Architectures/ArchitectureBootstrapper.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Environment; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Architectures/ArchitectureComponentActivator.cs b/GFramework.Core/Architectures/ArchitectureComponentActivator.cs index 0bf121e5..dd9f9b16 100644 --- a/GFramework.Core/Architectures/ArchitectureComponentActivator.cs +++ b/GFramework.Core/Architectures/ArchitectureComponentActivator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Logging; using Microsoft.Extensions.DependencyInjection; diff --git a/GFramework.Core/Architectures/ArchitectureComponentRegistry.cs b/GFramework.Core/Architectures/ArchitectureComponentRegistry.cs index 63810c28..9e0ff256 100644 --- a/GFramework.Core/Architectures/ArchitectureComponentRegistry.cs +++ b/GFramework.Core/Architectures/ArchitectureComponentRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Architectures/ArchitectureConfiguration.cs b/GFramework.Core/Architectures/ArchitectureConfiguration.cs index e95017c3..a45f69c0 100644 --- a/GFramework.Core/Architectures/ArchitectureConfiguration.cs +++ b/GFramework.Core/Architectures/ArchitectureConfiguration.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Properties; using GFramework.Core.Logging; diff --git a/GFramework.Core/Architectures/ArchitectureConstants.cs b/GFramework.Core/Architectures/ArchitectureConstants.cs index e6aaa50d..10f154d5 100644 --- a/GFramework.Core/Architectures/ArchitectureConstants.cs +++ b/GFramework.Core/Architectures/ArchitectureConstants.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Immutable; using GFramework.Core.Abstractions.Enums; diff --git a/GFramework.Core/Architectures/ArchitectureContext.cs b/GFramework.Core/Architectures/ArchitectureContext.cs index 8a64e98e..b63a0427 100644 --- a/GFramework.Core/Architectures/ArchitectureContext.cs +++ b/GFramework.Core/Architectures/ArchitectureContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Command; diff --git a/GFramework.Core/Architectures/ArchitectureDisposer.cs b/GFramework.Core/Architectures/ArchitectureDisposer.cs index e87d25a7..956f25e0 100644 --- a/GFramework.Core/Architectures/ArchitectureDisposer.cs +++ b/GFramework.Core/Architectures/ArchitectureDisposer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Lifecycle; diff --git a/GFramework.Core/Architectures/ArchitectureLifecycle.cs b/GFramework.Core/Architectures/ArchitectureLifecycle.cs index f70d5fe9..06b1cd91 100644 --- a/GFramework.Core/Architectures/ArchitectureLifecycle.cs +++ b/GFramework.Core/Architectures/ArchitectureLifecycle.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Lifecycle; diff --git a/GFramework.Core/Architectures/ArchitectureModules.cs b/GFramework.Core/Architectures/ArchitectureModules.cs index 082baa1e..47dfc0df 100644 --- a/GFramework.Core/Architectures/ArchitectureModules.cs +++ b/GFramework.Core/Architectures/ArchitectureModules.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Architectures/ArchitecturePhaseCoordinator.cs b/GFramework.Core/Architectures/ArchitecturePhaseCoordinator.cs index 42cf9578..421086d3 100644 --- a/GFramework.Core/Architectures/ArchitecturePhaseCoordinator.cs +++ b/GFramework.Core/Architectures/ArchitecturePhaseCoordinator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Architectures/ArchitectureServices.cs b/GFramework.Core/Architectures/ArchitectureServices.cs index 27d8dbf0..23a7a1ba 100644 --- a/GFramework.Core/Architectures/ArchitectureServices.cs +++ b/GFramework.Core/Architectures/ArchitectureServices.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Command; using GFramework.Core.Abstractions.Events; diff --git a/GFramework.Core/Architectures/GameContext.cs b/GFramework.Core/Architectures/GameContext.cs index aa4f84bf..3d1e2f54 100644 --- a/GFramework.Core/Architectures/GameContext.cs +++ b/GFramework.Core/Architectures/GameContext.cs @@ -1,4 +1,7 @@ -using System.Collections.Concurrent; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using System.Collections.Concurrent; using GFramework.Core.Abstractions.Architectures; namespace GFramework.Core.Architectures; diff --git a/GFramework.Core/Architectures/GameContextProvider.cs b/GFramework.Core/Architectures/GameContextProvider.cs index 7c146620..6f82edfd 100644 --- a/GFramework.Core/Architectures/GameContextProvider.cs +++ b/GFramework.Core/Architectures/GameContextProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; namespace GFramework.Core.Architectures; diff --git a/GFramework.Core/Architectures/RegistryInitializationHookBase.cs b/GFramework.Core/Architectures/RegistryInitializationHookBase.cs index 277dc132..1a4fb40d 100644 --- a/GFramework.Core/Architectures/RegistryInitializationHookBase.cs +++ b/GFramework.Core/Architectures/RegistryInitializationHookBase.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; diff --git a/GFramework.Core/Architectures/ScopedContextProvider.cs b/GFramework.Core/Architectures/ScopedContextProvider.cs index 0ad08e76..bb2eda68 100644 --- a/GFramework.Core/Architectures/ScopedContextProvider.cs +++ b/GFramework.Core/Architectures/ScopedContextProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; namespace GFramework.Core.Architectures; diff --git a/GFramework.Core/Command/AbstractAsyncCommand.cs b/GFramework.Core/Command/AbstractAsyncCommand.cs index a97411e4..c34d9111 100644 --- a/GFramework.Core/Command/AbstractAsyncCommand.cs +++ b/GFramework.Core/Command/AbstractAsyncCommand.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Command; using GFramework.Core.Rule; using GFramework.Cqrs.Abstractions.Cqrs.Command; diff --git a/GFramework.Core/Command/AbstractCommand.cs b/GFramework.Core/Command/AbstractCommand.cs index ce28d162..32438526 100644 --- a/GFramework.Core/Command/AbstractCommand.cs +++ b/GFramework.Core/Command/AbstractCommand.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Command; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Command; using GFramework.Core.Rule; using GFramework.Cqrs.Abstractions.Cqrs.Command; using ICommand = GFramework.Core.Abstractions.Command.ICommand; diff --git a/GFramework.Core/Command/CommandExecutor.cs b/GFramework.Core/Command/CommandExecutor.cs index 9265b5a2..2d2d7e32 100644 --- a/GFramework.Core/Command/CommandExecutor.cs +++ b/GFramework.Core/Command/CommandExecutor.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Command; using IAsyncCommand = GFramework.Core.Abstractions.Command.IAsyncCommand; diff --git a/GFramework.Core/Command/EmptyCommandInput.cs b/GFramework.Core/Command/EmptyCommandInput.cs index 540c158e..daf54ca8 100644 --- a/GFramework.Core/Command/EmptyCommandInput.cs +++ b/GFramework.Core/Command/EmptyCommandInput.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs.Command; namespace GFramework.Core.Command; diff --git a/GFramework.Core/Configuration/ConfigWatcherUnRegister.cs b/GFramework.Core/Configuration/ConfigWatcherUnRegister.cs index 22f74521..b425aab2 100644 --- a/GFramework.Core/Configuration/ConfigWatcherUnRegister.cs +++ b/GFramework.Core/Configuration/ConfigWatcherUnRegister.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Configuration; diff --git a/GFramework.Core/Configuration/ConfigurationManager.cs b/GFramework.Core/Configuration/ConfigurationManager.cs index a8d3566a..be47fb14 100644 --- a/GFramework.Core/Configuration/ConfigurationManager.cs +++ b/GFramework.Core/Configuration/ConfigurationManager.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using System.Globalization; using System.IO; diff --git a/GFramework.Core/Constants/GFrameworkConstants.cs b/GFramework.Core/Constants/GFrameworkConstants.cs index e5062e3b..be402e61 100644 --- a/GFramework.Core/Constants/GFrameworkConstants.cs +++ b/GFramework.Core/Constants/GFrameworkConstants.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Constants; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Constants; /// /// GFramework框架常量定义类 diff --git a/GFramework.Core/Coroutine/CoroutineExceptionEventArgs.cs b/GFramework.Core/Coroutine/CoroutineExceptionEventArgs.cs index dfacd69c..995e79af 100644 --- a/GFramework.Core/Coroutine/CoroutineExceptionEventArgs.cs +++ b/GFramework.Core/Coroutine/CoroutineExceptionEventArgs.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Coroutine; /// diff --git a/GFramework.Core/Coroutine/CoroutineFinishedEventArgs.cs b/GFramework.Core/Coroutine/CoroutineFinishedEventArgs.cs index 5a32ff9f..fee41315 100644 --- a/GFramework.Core/Coroutine/CoroutineFinishedEventArgs.cs +++ b/GFramework.Core/Coroutine/CoroutineFinishedEventArgs.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine; diff --git a/GFramework.Core/Coroutine/CoroutineHandle.cs b/GFramework.Core/Coroutine/CoroutineHandle.cs index c595c852..d74926b3 100644 --- a/GFramework.Core/Coroutine/CoroutineHandle.cs +++ b/GFramework.Core/Coroutine/CoroutineHandle.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Coroutine; /// /// 协程句柄 diff --git a/GFramework.Core/Coroutine/CoroutineHelper.cs b/GFramework.Core/Coroutine/CoroutineHelper.cs index ee2ac7a9..db76731a 100644 --- a/GFramework.Core/Coroutine/CoroutineHelper.cs +++ b/GFramework.Core/Coroutine/CoroutineHelper.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/CoroutineMetadata.cs b/GFramework.Core/Coroutine/CoroutineMetadata.cs index 15fe0e4e..6b655ba1 100644 --- a/GFramework.Core/Coroutine/CoroutineMetadata.cs +++ b/GFramework.Core/Coroutine/CoroutineMetadata.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine; diff --git a/GFramework.Core/Coroutine/CoroutineScheduler.cs b/GFramework.Core/Coroutine/CoroutineScheduler.cs index a7fb8676..79d41a26 100644 --- a/GFramework.Core/Coroutine/CoroutineScheduler.cs +++ b/GFramework.Core/Coroutine/CoroutineScheduler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Coroutine/CoroutineSlot.cs b/GFramework.Core/Coroutine/CoroutineSlot.cs index 1fb11994..09731b7c 100644 --- a/GFramework.Core/Coroutine/CoroutineSlot.cs +++ b/GFramework.Core/Coroutine/CoroutineSlot.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine; diff --git a/GFramework.Core/Coroutine/CoroutineSnapshot.cs b/GFramework.Core/Coroutine/CoroutineSnapshot.cs index c96b77bd..b676b6fd 100644 --- a/GFramework.Core/Coroutine/CoroutineSnapshot.cs +++ b/GFramework.Core/Coroutine/CoroutineSnapshot.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine; diff --git a/GFramework.Core/Coroutine/CoroutineStatistics.cs b/GFramework.Core/Coroutine/CoroutineStatistics.cs index 66126c02..4fd72ae5 100644 --- a/GFramework.Core/Coroutine/CoroutineStatistics.cs +++ b/GFramework.Core/Coroutine/CoroutineStatistics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Text; using System.Globalization; using GFramework.Core.Abstractions.Coroutine; diff --git a/GFramework.Core/Coroutine/Extensions/CoroutineExtensions.cs b/GFramework.Core/Coroutine/Extensions/CoroutineExtensions.cs index 71009edf..3cd8c0a9 100644 --- a/GFramework.Core/Coroutine/Extensions/CoroutineExtensions.cs +++ b/GFramework.Core/Coroutine/Extensions/CoroutineExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Extensions/CqrsCoroutineExtensions.cs b/GFramework.Core/Coroutine/Extensions/CqrsCoroutineExtensions.cs index ec2b55a0..5e66b3c9 100644 --- a/GFramework.Core/Coroutine/Extensions/CqrsCoroutineExtensions.cs +++ b/GFramework.Core/Coroutine/Extensions/CqrsCoroutineExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.ExceptionServices; using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Core/Coroutine/Extensions/TaskCoroutineExtensions.cs b/GFramework.Core/Coroutine/Extensions/TaskCoroutineExtensions.cs index f8b4e4e5..056c5b36 100644 --- a/GFramework.Core/Coroutine/Extensions/TaskCoroutineExtensions.cs +++ b/GFramework.Core/Coroutine/Extensions/TaskCoroutineExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/AsyncOperation.cs b/GFramework.Core/Coroutine/Instructions/AsyncOperation.cs index 78c79d51..26146d49 100644 --- a/GFramework.Core/Coroutine/Instructions/AsyncOperation.cs +++ b/GFramework.Core/Coroutine/Instructions/AsyncOperation.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.CompilerServices; using GFramework.Core.Abstractions.Coroutine; diff --git a/GFramework.Core/Coroutine/Instructions/Delay.cs b/GFramework.Core/Coroutine/Instructions/Delay.cs index 14124354..a4e4ae61 100644 --- a/GFramework.Core/Coroutine/Instructions/Delay.cs +++ b/GFramework.Core/Coroutine/Instructions/Delay.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForAllCoroutines.cs b/GFramework.Core/Coroutine/Instructions/WaitForAllCoroutines.cs index 622cacdc..3f4b602e 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForAllCoroutines.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForAllCoroutines.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForConditionChange.cs b/GFramework.Core/Coroutine/Instructions/WaitForConditionChange.cs index db1e65ca..87f628af 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForConditionChange.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForConditionChange.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForCoroutine.cs b/GFramework.Core/Coroutine/Instructions/WaitForCoroutine.cs index 79652490..ee1e6ad3 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForCoroutine.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForCoroutine.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForEndOfFrame.cs b/GFramework.Core/Coroutine/Instructions/WaitForEndOfFrame.cs index ae5f7e9b..685f27e3 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForEndOfFrame.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForEndOfFrame.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForFixedUpdate.cs b/GFramework.Core/Coroutine/Instructions/WaitForFixedUpdate.cs index f828bfd2..f482a26e 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForFixedUpdate.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForFixedUpdate.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForFrames.cs b/GFramework.Core/Coroutine/Instructions/WaitForFrames.cs index a7e75dca..4dfa2513 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForFrames.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForFrames.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForMultipleEvents.cs b/GFramework.Core/Coroutine/Instructions/WaitForMultipleEvents.cs index 4eca3bf8..06569989 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForMultipleEvents.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForMultipleEvents.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Abstractions.Events; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForNextFrame.cs b/GFramework.Core/Coroutine/Instructions/WaitForNextFrame.cs index acf4d17c..3d47d10d 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForNextFrame.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForNextFrame.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForPredicate.cs b/GFramework.Core/Coroutine/Instructions/WaitForPredicate.cs index 9b58a422..7178611c 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForPredicate.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForPredicate.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForProgress.cs b/GFramework.Core/Coroutine/Instructions/WaitForProgress.cs index e241b0f0..daa3d7ba 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForProgress.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForProgress.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForSecondsRealtime.cs b/GFramework.Core/Coroutine/Instructions/WaitForSecondsRealtime.cs index 86f1e168..8228c15a 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForSecondsRealtime.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForSecondsRealtime.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForSecondsScaled.cs b/GFramework.Core/Coroutine/Instructions/WaitForSecondsScaled.cs index fbd02beb..6add0f7e 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForSecondsScaled.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForSecondsScaled.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForTask.T.cs b/GFramework.Core/Coroutine/Instructions/WaitForTask.T.cs index 1e95b77b..0818603d 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForTask.T.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForTask.T.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitForTask.cs b/GFramework.Core/Coroutine/Instructions/WaitForTask.cs index d214d259..400e8b02 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitForTask.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitForTask.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitOneFrame.cs b/GFramework.Core/Coroutine/Instructions/WaitOneFrame.cs index 4fa33acd..199fdadb 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitOneFrame.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitOneFrame.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitUntil.cs b/GFramework.Core/Coroutine/Instructions/WaitUntil.cs index 04c1aca7..ba8d9cdd 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitUntil.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitUntil.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitUntilOrTimeout.cs b/GFramework.Core/Coroutine/Instructions/WaitUntilOrTimeout.cs index f7777458..92d0b9e0 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitUntilOrTimeout.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitUntilOrTimeout.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Coroutine/Instructions/WaitWhile.cs b/GFramework.Core/Coroutine/Instructions/WaitWhile.cs index 87b886f3..6151bb3e 100644 --- a/GFramework.Core/Coroutine/Instructions/WaitWhile.cs +++ b/GFramework.Core/Coroutine/Instructions/WaitWhile.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Core/Environment/DefaultEnvironment.cs b/GFramework.Core/Environment/DefaultEnvironment.cs index 132b03cf..78777998 100644 --- a/GFramework.Core/Environment/DefaultEnvironment.cs +++ b/GFramework.Core/Environment/DefaultEnvironment.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Environment; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Environment; /// /// 默认环境实现类,继承自EnvironmentBase diff --git a/GFramework.Core/Environment/EnvironmentBase.cs b/GFramework.Core/Environment/EnvironmentBase.cs index 7895170e..9f88c3fd 100644 --- a/GFramework.Core/Environment/EnvironmentBase.cs +++ b/GFramework.Core/Environment/EnvironmentBase.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Environment; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Environment; using GFramework.Core.Rule; namespace GFramework.Core.Environment; diff --git a/GFramework.Core/Events/DefaultUnRegister.cs b/GFramework.Core/Events/DefaultUnRegister.cs index d8581cc2..c5e35f4f 100644 --- a/GFramework.Core/Events/DefaultUnRegister.cs +++ b/GFramework.Core/Events/DefaultUnRegister.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/EasyEvent.cs b/GFramework.Core/Events/EasyEvent.cs index 76f77766..2b389ec8 100644 --- a/GFramework.Core/Events/EasyEvent.cs +++ b/GFramework.Core/Events/EasyEvent.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/EasyEvents.cs b/GFramework.Core/Events/EasyEvents.cs index d21581c1..5d7837ce 100644 --- a/GFramework.Core/Events/EasyEvents.cs +++ b/GFramework.Core/Events/EasyEvents.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Events; diff --git a/GFramework.Core/Events/EnhancedEventBus.cs b/GFramework.Core/Events/EnhancedEventBus.cs index 87f4f18c..01b7eac3 100644 --- a/GFramework.Core/Events/EnhancedEventBus.cs +++ b/GFramework.Core/Events/EnhancedEventBus.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Events; diff --git a/GFramework.Core/Events/Event.cs b/GFramework.Core/Events/Event.cs index c1f0707e..968b7a66 100644 --- a/GFramework.Core/Events/Event.cs +++ b/GFramework.Core/Events/Event.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/EventBus.cs b/GFramework.Core/Events/EventBus.cs index f752607e..648883a7 100644 --- a/GFramework.Core/Events/EventBus.cs +++ b/GFramework.Core/Events/EventBus.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/EventStatistics.cs b/GFramework.Core/Events/EventStatistics.cs index d1b6e63f..23d790f6 100644 --- a/GFramework.Core/Events/EventStatistics.cs +++ b/GFramework.Core/Events/EventStatistics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Text; using GFramework.Core.Abstractions.Events; diff --git a/GFramework.Core/Events/FilterableEvent.cs b/GFramework.Core/Events/FilterableEvent.cs index 58bbd92c..4b9e75e8 100644 --- a/GFramework.Core/Events/FilterableEvent.cs +++ b/GFramework.Core/Events/FilterableEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/Filters/PredicateEventFilter.cs b/GFramework.Core/Events/Filters/PredicateEventFilter.cs index 908685f9..69bf2c33 100644 --- a/GFramework.Core/Events/Filters/PredicateEventFilter.cs +++ b/GFramework.Core/Events/Filters/PredicateEventFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events.Filters; diff --git a/GFramework.Core/Events/Filters/SamplingEventFilter.cs b/GFramework.Core/Events/Filters/SamplingEventFilter.cs index 57175b42..bc7e7721 100644 --- a/GFramework.Core/Events/Filters/SamplingEventFilter.cs +++ b/GFramework.Core/Events/Filters/SamplingEventFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events.Filters; diff --git a/GFramework.Core/Events/OrEvent.cs b/GFramework.Core/Events/OrEvent.cs index 8273934a..b83c5e0a 100644 --- a/GFramework.Core/Events/OrEvent.cs +++ b/GFramework.Core/Events/OrEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Extensions; diff --git a/GFramework.Core/Events/PriorityEvent.cs b/GFramework.Core/Events/PriorityEvent.cs index 3d4f4e2a..1151808a 100644 --- a/GFramework.Core/Events/PriorityEvent.cs +++ b/GFramework.Core/Events/PriorityEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/StatisticsEventDecorator.cs b/GFramework.Core/Events/StatisticsEventDecorator.cs index ec1f4904..d8e228b4 100644 --- a/GFramework.Core/Events/StatisticsEventDecorator.cs +++ b/GFramework.Core/Events/StatisticsEventDecorator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/UnRegisterList.cs b/GFramework.Core/Events/UnRegisterList.cs index fde1b67f..6a27b2b4 100644 --- a/GFramework.Core/Events/UnRegisterList.cs +++ b/GFramework.Core/Events/UnRegisterList.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Events/WeakEvent.cs b/GFramework.Core/Events/WeakEvent.cs index 72959133..4df5e2f0 100644 --- a/GFramework.Core/Events/WeakEvent.cs +++ b/GFramework.Core/Events/WeakEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Events; diff --git a/GFramework.Core/Extensions/ArrayPoolExtensions.cs b/GFramework.Core/Extensions/ArrayPoolExtensions.cs index 6bb62f09..40026278 100644 --- a/GFramework.Core/Extensions/ArrayPoolExtensions.cs +++ b/GFramework.Core/Extensions/ArrayPoolExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Buffers; namespace GFramework.Core.Extensions; diff --git a/GFramework.Core/Extensions/AsyncExtensions.cs b/GFramework.Core/Extensions/AsyncExtensions.cs index 47124086..df49ef75 100644 --- a/GFramework.Core/Extensions/AsyncExtensions.cs +++ b/GFramework.Core/Extensions/AsyncExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Extensions; /// diff --git a/GFramework.Core/Extensions/CollectionExtensions.cs b/GFramework.Core/Extensions/CollectionExtensions.cs index baa2c4d4..a1adc3ec 100644 --- a/GFramework.Core/Extensions/CollectionExtensions.cs +++ b/GFramework.Core/Extensions/CollectionExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Extensions; /// diff --git a/GFramework.Core/Extensions/ContextAwareCommandExtensions.cs b/GFramework.Core/Extensions/ContextAwareCommandExtensions.cs index 49676e56..5697f623 100644 --- a/GFramework.Core/Extensions/ContextAwareCommandExtensions.cs +++ b/GFramework.Core/Extensions/ContextAwareCommandExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Command; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Core/Extensions/ContextAwareEnvironmentExtensions.cs b/GFramework.Core/Extensions/ContextAwareEnvironmentExtensions.cs index 5fd7766a..9d396b4e 100644 --- a/GFramework.Core/Extensions/ContextAwareEnvironmentExtensions.cs +++ b/GFramework.Core/Extensions/ContextAwareEnvironmentExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Environment; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Core/Extensions/ContextAwareEventExtensions.cs b/GFramework.Core/Extensions/ContextAwareEventExtensions.cs index 491c5230..74113c0d 100644 --- a/GFramework.Core/Extensions/ContextAwareEventExtensions.cs +++ b/GFramework.Core/Extensions/ContextAwareEventExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Core/Extensions/ContextAwareQueryExtensions.cs b/GFramework.Core/Extensions/ContextAwareQueryExtensions.cs index 63ad260c..9f79c54f 100644 --- a/GFramework.Core/Extensions/ContextAwareQueryExtensions.cs +++ b/GFramework.Core/Extensions/ContextAwareQueryExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Query; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Core/Extensions/ContextAwareServiceExtensions.cs b/GFramework.Core/Extensions/ContextAwareServiceExtensions.cs index ae88a4af..aff5c960 100644 --- a/GFramework.Core/Extensions/ContextAwareServiceExtensions.cs +++ b/GFramework.Core/Extensions/ContextAwareServiceExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Model; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Core/Extensions/GuardExtensions.cs b/GFramework.Core/Extensions/GuardExtensions.cs index 716a3127..e81914c7 100644 --- a/GFramework.Core/Extensions/GuardExtensions.cs +++ b/GFramework.Core/Extensions/GuardExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.CompilerServices; namespace GFramework.Core.Extensions; diff --git a/GFramework.Core/Extensions/NumericDisplayExtensions.cs b/GFramework.Core/Extensions/NumericDisplayExtensions.cs index d67c7c90..e465846f 100644 --- a/GFramework.Core/Extensions/NumericDisplayExtensions.cs +++ b/GFramework.Core/Extensions/NumericDisplayExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Numerics; using GFramework.Core.Abstractions.Utility.Numeric; using GFramework.Core.Utility.Numeric; diff --git a/GFramework.Core/Extensions/NumericExtensions.cs b/GFramework.Core/Extensions/NumericExtensions.cs index c0637310..10318849 100644 --- a/GFramework.Core/Extensions/NumericExtensions.cs +++ b/GFramework.Core/Extensions/NumericExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Extensions; /// diff --git a/GFramework.Core/Extensions/ObjectExtensions.cs b/GFramework.Core/Extensions/ObjectExtensions.cs index c22d2f24..30777738 100644 --- a/GFramework.Core/Extensions/ObjectExtensions.cs +++ b/GFramework.Core/Extensions/ObjectExtensions.cs @@ -1,4 +1,7 @@ -namespace GFramework.Core.Extensions; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Core.Extensions; /// /// 提供基于运行时类型判断的对象扩展方法, diff --git a/GFramework.Core/Extensions/OrEventExtensions.cs b/GFramework.Core/Extensions/OrEventExtensions.cs index 8fc8ed08..85b414d3 100644 --- a/GFramework.Core/Extensions/OrEventExtensions.cs +++ b/GFramework.Core/Extensions/OrEventExtensions.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; using GFramework.Core.Events; namespace GFramework.Core.Extensions; diff --git a/GFramework.Core/Extensions/SpanExtensions.cs b/GFramework.Core/Extensions/SpanExtensions.cs index f1d30350..3372a474 100644 --- a/GFramework.Core/Extensions/SpanExtensions.cs +++ b/GFramework.Core/Extensions/SpanExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Extensions; /// diff --git a/GFramework.Core/Extensions/StoreEventBusExtensions.cs b/GFramework.Core/Extensions/StoreEventBusExtensions.cs index 5d09ae24..9a18cc0f 100644 --- a/GFramework.Core/Extensions/StoreEventBusExtensions.cs +++ b/GFramework.Core/Extensions/StoreEventBusExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.StateManagement; using GFramework.Core.Events; diff --git a/GFramework.Core/Extensions/StoreExtensions.cs b/GFramework.Core/Extensions/StoreExtensions.cs index dc74fa4a..109d1604 100644 --- a/GFramework.Core/Extensions/StoreExtensions.cs +++ b/GFramework.Core/Extensions/StoreExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Property; using GFramework.Core.Abstractions.StateManagement; using GFramework.Core.StateManagement; diff --git a/GFramework.Core/Extensions/StringExtensions.cs b/GFramework.Core/Extensions/StringExtensions.cs index 914dc855..d56dfb58 100644 --- a/GFramework.Core/Extensions/StringExtensions.cs +++ b/GFramework.Core/Extensions/StringExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Extensions; /// diff --git a/GFramework.Core/Extensions/UnRegisterListExtension.cs b/GFramework.Core/Extensions/UnRegisterListExtension.cs index 6cde4b09..ba78ca5a 100644 --- a/GFramework.Core/Extensions/UnRegisterListExtension.cs +++ b/GFramework.Core/Extensions/UnRegisterListExtension.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Extensions; diff --git a/GFramework.Core/GFramework.Core.csproj b/GFramework.Core/GFramework.Core.csproj index a67e0ece..37b56616 100644 --- a/GFramework.Core/GFramework.Core.csproj +++ b/GFramework.Core/GFramework.Core.csproj @@ -1,4 +1,9 @@ - + + + GeWuYou.$(AssemblyName) diff --git a/GFramework.Core/Ioc/MicrosoftDiContainer.cs b/GFramework.Core/Ioc/MicrosoftDiContainer.cs index 9192e289..5a6d728c 100644 --- a/GFramework.Core/Ioc/MicrosoftDiContainer.cs +++ b/GFramework.Core/Ioc/MicrosoftDiContainer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Bases; using GFramework.Core.Abstractions.Ioc; diff --git a/GFramework.Core/Localization/Formatters/CompactNumberLocalizationFormatter.cs b/GFramework.Core/Localization/Formatters/CompactNumberLocalizationFormatter.cs index e91ee978..3a8a1737 100644 --- a/GFramework.Core/Localization/Formatters/CompactNumberLocalizationFormatter.cs +++ b/GFramework.Core/Localization/Formatters/CompactNumberLocalizationFormatter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using GFramework.Core.Abstractions.Localization; using GFramework.Core.Abstractions.Utility.Numeric; diff --git a/GFramework.Core/Localization/Formatters/ConditionalFormatter.cs b/GFramework.Core/Localization/Formatters/ConditionalFormatter.cs index 03172aa6..47aad378 100644 --- a/GFramework.Core/Localization/Formatters/ConditionalFormatter.cs +++ b/GFramework.Core/Localization/Formatters/ConditionalFormatter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Localization; namespace GFramework.Core.Localization.Formatters; diff --git a/GFramework.Core/Localization/Formatters/PluralFormatter.cs b/GFramework.Core/Localization/Formatters/PluralFormatter.cs index e1ee7da9..70e1028e 100644 --- a/GFramework.Core/Localization/Formatters/PluralFormatter.cs +++ b/GFramework.Core/Localization/Formatters/PluralFormatter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Localization; namespace GFramework.Core.Localization.Formatters; diff --git a/GFramework.Core/Localization/LocalizationManager.cs b/GFramework.Core/Localization/LocalizationManager.cs index 184a76b3..62dcbecc 100644 --- a/GFramework.Core/Localization/LocalizationManager.cs +++ b/GFramework.Core/Localization/LocalizationManager.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using System.IO; using System.Text.Json; diff --git a/GFramework.Core/Localization/LocalizationString.cs b/GFramework.Core/Localization/LocalizationString.cs index c926d73b..c1aa6732 100644 --- a/GFramework.Core/Localization/LocalizationString.cs +++ b/GFramework.Core/Localization/LocalizationString.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Text.RegularExpressions; using GFramework.Core.Abstractions.Localization; diff --git a/GFramework.Core/Localization/LocalizationTable.cs b/GFramework.Core/Localization/LocalizationTable.cs index 58528775..6c854b4e 100644 --- a/GFramework.Core/Localization/LocalizationTable.cs +++ b/GFramework.Core/Localization/LocalizationTable.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Localization; namespace GFramework.Core.Localization; diff --git a/GFramework.Core/Logging/AbstractLogger.cs b/GFramework.Core/Logging/AbstractLogger.cs index 90dee078..0a996542 100644 --- a/GFramework.Core/Logging/AbstractLogger.cs +++ b/GFramework.Core/Logging/AbstractLogger.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Logging; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging; diff --git a/GFramework.Core/Logging/AppenderConfiguration.cs b/GFramework.Core/Logging/AppenderConfiguration.cs index 0528b111..bab3e508 100644 --- a/GFramework.Core/Logging/AppenderConfiguration.cs +++ b/GFramework.Core/Logging/AppenderConfiguration.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Logging; /// diff --git a/GFramework.Core/Logging/Appenders/AsyncLogAppender.cs b/GFramework.Core/Logging/Appenders/AsyncLogAppender.cs index a3654f7a..a771c8f0 100644 --- a/GFramework.Core/Logging/Appenders/AsyncLogAppender.cs +++ b/GFramework.Core/Logging/Appenders/AsyncLogAppender.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging.Appenders; diff --git a/GFramework.Core/Logging/Appenders/ConsoleAppender.cs b/GFramework.Core/Logging/Appenders/ConsoleAppender.cs index 0418744c..535a67bb 100644 --- a/GFramework.Core/Logging/Appenders/ConsoleAppender.cs +++ b/GFramework.Core/Logging/Appenders/ConsoleAppender.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Logging/Appenders/FileAppender.cs b/GFramework.Core/Logging/Appenders/FileAppender.cs index 76cd47a6..79904f3e 100644 --- a/GFramework.Core/Logging/Appenders/FileAppender.cs +++ b/GFramework.Core/Logging/Appenders/FileAppender.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using System.Text; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Logging/Appenders/RollingFileAppender.cs b/GFramework.Core/Logging/Appenders/RollingFileAppender.cs index ea9d91de..c557566b 100644 --- a/GFramework.Core/Logging/Appenders/RollingFileAppender.cs +++ b/GFramework.Core/Logging/Appenders/RollingFileAppender.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.IO; using System.Text; diff --git a/GFramework.Core/Logging/Appenders/StatisticsAppender.cs b/GFramework.Core/Logging/Appenders/StatisticsAppender.cs index 48fb3f87..9b38683b 100644 --- a/GFramework.Core/Logging/Appenders/StatisticsAppender.cs +++ b/GFramework.Core/Logging/Appenders/StatisticsAppender.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using System.Text; using System.Globalization; diff --git a/GFramework.Core/Logging/CachedLoggerFactory.cs b/GFramework.Core/Logging/CachedLoggerFactory.cs index edea5745..fc00d8bf 100644 --- a/GFramework.Core/Logging/CachedLoggerFactory.cs +++ b/GFramework.Core/Logging/CachedLoggerFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Logging/CompositeLogger.cs b/GFramework.Core/Logging/CompositeLogger.cs index c551f91e..1eaf6a5c 100644 --- a/GFramework.Core/Logging/CompositeLogger.cs +++ b/GFramework.Core/Logging/CompositeLogger.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging; diff --git a/GFramework.Core/Logging/ConfigurableLoggerFactory.cs b/GFramework.Core/Logging/ConfigurableLoggerFactory.cs index c42b5e61..2f6d6038 100644 --- a/GFramework.Core/Logging/ConfigurableLoggerFactory.cs +++ b/GFramework.Core/Logging/ConfigurableLoggerFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging.Appenders; diff --git a/GFramework.Core/Logging/ConsoleLogger.cs b/GFramework.Core/Logging/ConsoleLogger.cs index e1f0f023..f66edfc6 100644 --- a/GFramework.Core/Logging/ConsoleLogger.cs +++ b/GFramework.Core/Logging/ConsoleLogger.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Globalization; using System.IO; diff --git a/GFramework.Core/Logging/ConsoleLoggerFactory.cs b/GFramework.Core/Logging/ConsoleLoggerFactory.cs index b9e65160..a8d0ae47 100644 --- a/GFramework.Core/Logging/ConsoleLoggerFactory.cs +++ b/GFramework.Core/Logging/ConsoleLoggerFactory.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Logging; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging; diff --git a/GFramework.Core/Logging/ConsoleLoggerFactoryProvider.cs b/GFramework.Core/Logging/ConsoleLoggerFactoryProvider.cs index ca3fbce6..facf1a96 100644 --- a/GFramework.Core/Logging/ConsoleLoggerFactoryProvider.cs +++ b/GFramework.Core/Logging/ConsoleLoggerFactoryProvider.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Logging; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging; diff --git a/GFramework.Core/Logging/FilterConfiguration.cs b/GFramework.Core/Logging/FilterConfiguration.cs index 0dc02bec..7585572f 100644 --- a/GFramework.Core/Logging/FilterConfiguration.cs +++ b/GFramework.Core/Logging/FilterConfiguration.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging; diff --git a/GFramework.Core/Logging/Filters/CompositeFilter.cs b/GFramework.Core/Logging/Filters/CompositeFilter.cs index d8841bce..c0de2e9d 100644 --- a/GFramework.Core/Logging/Filters/CompositeFilter.cs +++ b/GFramework.Core/Logging/Filters/CompositeFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging.Filters; diff --git a/GFramework.Core/Logging/Filters/LogLevelFilter.cs b/GFramework.Core/Logging/Filters/LogLevelFilter.cs index b4e0aabb..13a1e364 100644 --- a/GFramework.Core/Logging/Filters/LogLevelFilter.cs +++ b/GFramework.Core/Logging/Filters/LogLevelFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging.Filters; diff --git a/GFramework.Core/Logging/Filters/NamespaceFilter.cs b/GFramework.Core/Logging/Filters/NamespaceFilter.cs index 4eddf329..239865ff 100644 --- a/GFramework.Core/Logging/Filters/NamespaceFilter.cs +++ b/GFramework.Core/Logging/Filters/NamespaceFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging.Filters; diff --git a/GFramework.Core/Logging/Filters/SamplingFilter.cs b/GFramework.Core/Logging/Filters/SamplingFilter.cs index 5504d78e..f1eb5754 100644 --- a/GFramework.Core/Logging/Filters/SamplingFilter.cs +++ b/GFramework.Core/Logging/Filters/SamplingFilter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Time; diff --git a/GFramework.Core/Logging/Formatters/DefaultLogFormatter.cs b/GFramework.Core/Logging/Formatters/DefaultLogFormatter.cs index 0d723343..30d0d229 100644 --- a/GFramework.Core/Logging/Formatters/DefaultLogFormatter.cs +++ b/GFramework.Core/Logging/Formatters/DefaultLogFormatter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Text; using System.Globalization; diff --git a/GFramework.Core/Logging/Formatters/JsonLogFormatter.cs b/GFramework.Core/Logging/Formatters/JsonLogFormatter.cs index 61ee1d41..428364b6 100644 --- a/GFramework.Core/Logging/Formatters/JsonLogFormatter.cs +++ b/GFramework.Core/Logging/Formatters/JsonLogFormatter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Text.Json; using System.Globalization; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Logging/LoggingConfiguration.cs b/GFramework.Core/Logging/LoggingConfiguration.cs index 6bb164f7..38247368 100644 --- a/GFramework.Core/Logging/LoggingConfiguration.cs +++ b/GFramework.Core/Logging/LoggingConfiguration.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Core.Logging; diff --git a/GFramework.Core/Logging/LoggingConfigurationLoader.cs b/GFramework.Core/Logging/LoggingConfigurationLoader.cs index 545787e2..f721e3ca 100644 --- a/GFramework.Core/Logging/LoggingConfigurationLoader.cs +++ b/GFramework.Core/Logging/LoggingConfigurationLoader.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using System.Text.Json; using System.Text.Json.Serialization; diff --git a/GFramework.Core/Model/AbstractModel.cs b/GFramework.Core/Model/AbstractModel.cs index b41d6bb1..742804a5 100644 --- a/GFramework.Core/Model/AbstractModel.cs +++ b/GFramework.Core/Model/AbstractModel.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Enums; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Lifecycle; using GFramework.Core.Abstractions.Model; using GFramework.Core.Rule; diff --git a/GFramework.Core/Pause/PauseEntry.cs b/GFramework.Core/Pause/PauseEntry.cs index e1db6f0d..2c43285a 100644 --- a/GFramework.Core/Pause/PauseEntry.cs +++ b/GFramework.Core/Pause/PauseEntry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Pause; namespace GFramework.Core.Pause; diff --git a/GFramework.Core/Pause/PauseScope.cs b/GFramework.Core/Pause/PauseScope.cs index 1353d21e..ada7b91d 100644 --- a/GFramework.Core/Pause/PauseScope.cs +++ b/GFramework.Core/Pause/PauseScope.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Pause; namespace GFramework.Core.Pause; diff --git a/GFramework.Core/Pause/PauseStackManager.cs b/GFramework.Core/Pause/PauseStackManager.cs index 665c2d3a..5b87ab81 100644 --- a/GFramework.Core/Pause/PauseStackManager.cs +++ b/GFramework.Core/Pause/PauseStackManager.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Lifecycle; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Pause; diff --git a/GFramework.Core/Pool/AbstractObjectPoolSystem.cs b/GFramework.Core/Pool/AbstractObjectPoolSystem.cs index 95c25b3c..4a66f4bf 100644 --- a/GFramework.Core/Pool/AbstractObjectPoolSystem.cs +++ b/GFramework.Core/Pool/AbstractObjectPoolSystem.cs @@ -1,4 +1,7 @@ -using System.Diagnostics; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using System.Diagnostics; using GFramework.Core.Abstractions.Pool; using GFramework.Core.Systems; diff --git a/GFramework.Core/Pool/StringBuilderPool.cs b/GFramework.Core/Pool/StringBuilderPool.cs index 233fb398..f295946e 100644 --- a/GFramework.Core/Pool/StringBuilderPool.cs +++ b/GFramework.Core/Pool/StringBuilderPool.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using System.Text; diff --git a/GFramework.Core/Properties/TypeForwarders.cs b/GFramework.Core/Properties/TypeForwarders.cs index 2c260462..bb406d4a 100644 --- a/GFramework.Core/Properties/TypeForwarders.cs +++ b/GFramework.Core/Properties/TypeForwarders.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.CompilerServices; using GFramework.Core.Abstractions.Logging; using GFramework.Cqrs.Command; diff --git a/GFramework.Core/Property/BindableProperty.cs b/GFramework.Core/Property/BindableProperty.cs index 4bbb5a9d..a07e13ed 100644 --- a/GFramework.Core/Property/BindableProperty.cs +++ b/GFramework.Core/Property/BindableProperty.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.Property; diff --git a/GFramework.Core/Property/BindablePropertyUnRegister.cs b/GFramework.Core/Property/BindablePropertyUnRegister.cs index a358709f..6fea3b6e 100644 --- a/GFramework.Core/Property/BindablePropertyUnRegister.cs +++ b/GFramework.Core/Property/BindablePropertyUnRegister.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; namespace GFramework.Core.Property; diff --git a/GFramework.Core/Query/AbstractAsyncQuery.cs b/GFramework.Core/Query/AbstractAsyncQuery.cs index 27d517fc..7ce15986 100644 --- a/GFramework.Core/Query/AbstractAsyncQuery.cs +++ b/GFramework.Core/Query/AbstractAsyncQuery.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Query; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Query; using GFramework.Core.Rule; using GFramework.Cqrs.Abstractions.Cqrs.Query; diff --git a/GFramework.Core/Query/AbstractQuery.cs b/GFramework.Core/Query/AbstractQuery.cs index c9849011..66d7c56a 100644 --- a/GFramework.Core/Query/AbstractQuery.cs +++ b/GFramework.Core/Query/AbstractQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Query; using GFramework.Core.Rule; using GFramework.Cqrs.Abstractions.Cqrs.Query; diff --git a/GFramework.Core/Query/AsyncQueryExecutor.cs b/GFramework.Core/Query/AsyncQueryExecutor.cs index 5d2313f1..a80fb1b8 100644 --- a/GFramework.Core/Query/AsyncQueryExecutor.cs +++ b/GFramework.Core/Query/AsyncQueryExecutor.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Query; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Query; namespace GFramework.Core.Query; diff --git a/GFramework.Core/Query/EmptyQueryInput.cs b/GFramework.Core/Query/EmptyQueryInput.cs index a6a0cd67..79ee1d8e 100644 --- a/GFramework.Core/Query/EmptyQueryInput.cs +++ b/GFramework.Core/Query/EmptyQueryInput.cs @@ -1,4 +1,7 @@ -using GFramework.Cqrs.Abstractions.Cqrs.Query; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Cqrs.Abstractions.Cqrs.Query; namespace GFramework.Core.Query; diff --git a/GFramework.Core/Query/QueryExecutor.cs b/GFramework.Core/Query/QueryExecutor.cs index 3d82285c..5d269a6f 100644 --- a/GFramework.Core/Query/QueryExecutor.cs +++ b/GFramework.Core/Query/QueryExecutor.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Query; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Query; namespace GFramework.Core.Query; diff --git a/GFramework.Core/Resource/AutoReleaseStrategy.cs b/GFramework.Core/Resource/AutoReleaseStrategy.cs index 96ee7cbc..a5f3c82e 100644 --- a/GFramework.Core/Resource/AutoReleaseStrategy.cs +++ b/GFramework.Core/Resource/AutoReleaseStrategy.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Resource; namespace GFramework.Core.Resource; diff --git a/GFramework.Core/Resource/ManualReleaseStrategy.cs b/GFramework.Core/Resource/ManualReleaseStrategy.cs index 2035a904..0155ac12 100644 --- a/GFramework.Core/Resource/ManualReleaseStrategy.cs +++ b/GFramework.Core/Resource/ManualReleaseStrategy.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Resource; namespace GFramework.Core.Resource; diff --git a/GFramework.Core/Resource/ResourceCache.cs b/GFramework.Core/Resource/ResourceCache.cs index 5f6c51b6..695388d4 100644 --- a/GFramework.Core/Resource/ResourceCache.cs +++ b/GFramework.Core/Resource/ResourceCache.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; namespace GFramework.Core.Resource; diff --git a/GFramework.Core/Resource/ResourceCacheEntry.cs b/GFramework.Core/Resource/ResourceCacheEntry.cs index 46536f59..42077e65 100644 --- a/GFramework.Core/Resource/ResourceCacheEntry.cs +++ b/GFramework.Core/Resource/ResourceCacheEntry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.Resource; /// diff --git a/GFramework.Core/Resource/ResourceHandle.cs b/GFramework.Core/Resource/ResourceHandle.cs index 5ecb73e2..3ca26e2d 100644 --- a/GFramework.Core/Resource/ResourceHandle.cs +++ b/GFramework.Core/Resource/ResourceHandle.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Resource; using GFramework.Core.Logging; diff --git a/GFramework.Core/Resource/ResourceManager.cs b/GFramework.Core/Resource/ResourceManager.cs index a6bef4cf..3ff2833d 100644 --- a/GFramework.Core/Resource/ResourceManager.cs +++ b/GFramework.Core/Resource/ResourceManager.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Resource; diff --git a/GFramework.Core/Rule/ContextAwareBase.cs b/GFramework.Core/Rule/ContextAwareBase.cs index bf1a0303..868583d9 100644 --- a/GFramework.Core/Rule/ContextAwareBase.cs +++ b/GFramework.Core/Rule/ContextAwareBase.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Rule; using GFramework.Core.Architectures; diff --git a/GFramework.Core/Services/Modules/AsyncQueryExecutorModule.cs b/GFramework.Core/Services/Modules/AsyncQueryExecutorModule.cs index 46b32645..9fb6f787 100644 --- a/GFramework.Core/Services/Modules/AsyncQueryExecutorModule.cs +++ b/GFramework.Core/Services/Modules/AsyncQueryExecutorModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Query; diff --git a/GFramework.Core/Services/Modules/CommandExecutorModule.cs b/GFramework.Core/Services/Modules/CommandExecutorModule.cs index 2c69a38d..2ea60049 100644 --- a/GFramework.Core/Services/Modules/CommandExecutorModule.cs +++ b/GFramework.Core/Services/Modules/CommandExecutorModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Command; diff --git a/GFramework.Core/Services/Modules/CqrsRuntimeModule.cs b/GFramework.Core/Services/Modules/CqrsRuntimeModule.cs index 0bc0c25e..4818b7f4 100644 --- a/GFramework.Core/Services/Modules/CqrsRuntimeModule.cs +++ b/GFramework.Core/Services/Modules/CqrsRuntimeModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Core/Services/Modules/EventBusModule.cs b/GFramework.Core/Services/Modules/EventBusModule.cs index e62e0648..58bc0c30 100644 --- a/GFramework.Core/Services/Modules/EventBusModule.cs +++ b/GFramework.Core/Services/Modules/EventBusModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Events; diff --git a/GFramework.Core/Services/Modules/QueryExecutorModule.cs b/GFramework.Core/Services/Modules/QueryExecutorModule.cs index 0d109c3e..1f3e8403 100644 --- a/GFramework.Core/Services/Modules/QueryExecutorModule.cs +++ b/GFramework.Core/Services/Modules/QueryExecutorModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Query; diff --git a/GFramework.Core/Services/ServiceModuleManager.cs b/GFramework.Core/Services/ServiceModuleManager.cs index 73e895c9..5b7b64b5 100644 --- a/GFramework.Core/Services/ServiceModuleManager.cs +++ b/GFramework.Core/Services/ServiceModuleManager.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Lifecycle; diff --git a/GFramework.Core/State/ContextAwareStateBase.cs b/GFramework.Core/State/ContextAwareStateBase.cs index 0eda2627..b4db8e0d 100644 --- a/GFramework.Core/State/ContextAwareStateBase.cs +++ b/GFramework.Core/State/ContextAwareStateBase.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Lifecycle; using GFramework.Core.Abstractions.Rule; using GFramework.Core.Abstractions.State; diff --git a/GFramework.Core/State/StateChangedEvent.cs b/GFramework.Core/State/StateChangedEvent.cs index 5aa40578..3d92c364 100644 --- a/GFramework.Core/State/StateChangedEvent.cs +++ b/GFramework.Core/State/StateChangedEvent.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.State; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.State; namespace GFramework.Core.State; diff --git a/GFramework.Core/State/StateMachine.cs b/GFramework.Core/State/StateMachine.cs index 8cc85706..7ccb156c 100644 --- a/GFramework.Core/State/StateMachine.cs +++ b/GFramework.Core/State/StateMachine.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.State; namespace GFramework.Core.State; diff --git a/GFramework.Core/State/StateMachineSystem.cs b/GFramework.Core/State/StateMachineSystem.cs index 5fe02103..342de78c 100644 --- a/GFramework.Core/State/StateMachineSystem.cs +++ b/GFramework.Core/State/StateMachineSystem.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Lifecycle; diff --git a/GFramework.Core/StateManagement/Store.cs b/GFramework.Core/StateManagement/Store.cs index a05daa21..561f237b 100644 --- a/GFramework.Core/StateManagement/Store.cs +++ b/GFramework.Core/StateManagement/Store.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Diagnostics; using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.StateManagement; diff --git a/GFramework.Core/StateManagement/StoreBuilder.cs b/GFramework.Core/StateManagement/StoreBuilder.cs index 50043a11..49ecc0ef 100644 --- a/GFramework.Core/StateManagement/StoreBuilder.cs +++ b/GFramework.Core/StateManagement/StoreBuilder.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.StateManagement; namespace GFramework.Core.StateManagement; diff --git a/GFramework.Core/StateManagement/StoreDispatchedEvent.cs b/GFramework.Core/StateManagement/StoreDispatchedEvent.cs index 47fa53e8..211a9824 100644 --- a/GFramework.Core/StateManagement/StoreDispatchedEvent.cs +++ b/GFramework.Core/StateManagement/StoreDispatchedEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.StateManagement; namespace GFramework.Core.StateManagement; diff --git a/GFramework.Core/StateManagement/StoreSelection.cs b/GFramework.Core/StateManagement/StoreSelection.cs index 0f417409..359c08f6 100644 --- a/GFramework.Core/StateManagement/StoreSelection.cs +++ b/GFramework.Core/StateManagement/StoreSelection.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.Property; using GFramework.Core.Abstractions.StateManagement; diff --git a/GFramework.Core/StateManagement/StoreStateChangedEvent.cs b/GFramework.Core/StateManagement/StoreStateChangedEvent.cs index 7a438bea..5d41c875 100644 --- a/GFramework.Core/StateManagement/StoreStateChangedEvent.cs +++ b/GFramework.Core/StateManagement/StoreStateChangedEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Core.StateManagement; /// diff --git a/GFramework.Core/Systems/AbstractSystem.cs b/GFramework.Core/Systems/AbstractSystem.cs index 2efa472b..903eb85d 100644 --- a/GFramework.Core/Systems/AbstractSystem.cs +++ b/GFramework.Core/Systems/AbstractSystem.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Systems; diff --git a/GFramework.Core/Time/SystemTimeProvider.cs b/GFramework.Core/Time/SystemTimeProvider.cs index 45bd66a9..0cfe526b 100644 --- a/GFramework.Core/Time/SystemTimeProvider.cs +++ b/GFramework.Core/Time/SystemTimeProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Time; namespace GFramework.Core.Time; diff --git a/GFramework.Core/Utility/AbstractContextUtility.cs b/GFramework.Core/Utility/AbstractContextUtility.cs index 3d45f759..513793d4 100644 --- a/GFramework.Core/Utility/AbstractContextUtility.cs +++ b/GFramework.Core/Utility/AbstractContextUtility.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Logging; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Logging; using GFramework.Core.Abstractions.Utility; using GFramework.Core.Logging; using GFramework.Core.Rule; diff --git a/GFramework.Core/Utility/Numeric/NumericDisplay.cs b/GFramework.Core/Utility/Numeric/NumericDisplay.cs index eb6997ec..e4c17f7d 100644 --- a/GFramework.Core/Utility/Numeric/NumericDisplay.cs +++ b/GFramework.Core/Utility/Numeric/NumericDisplay.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Numerics; using GFramework.Core.Abstractions.Utility.Numeric; diff --git a/GFramework.Core/Utility/Numeric/NumericDisplayFormatter.cs b/GFramework.Core/Utility/Numeric/NumericDisplayFormatter.cs index 372d30b3..d3e63bae 100644 --- a/GFramework.Core/Utility/Numeric/NumericDisplayFormatter.cs +++ b/GFramework.Core/Utility/Numeric/NumericDisplayFormatter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using System.Numerics; using GFramework.Core.Abstractions.Utility.Numeric; diff --git a/GFramework.Core/Utility/Numeric/NumericSuffixFormatRule.cs b/GFramework.Core/Utility/Numeric/NumericSuffixFormatRule.cs index 60a90f34..f59bb45d 100644 --- a/GFramework.Core/Utility/Numeric/NumericSuffixFormatRule.cs +++ b/GFramework.Core/Utility/Numeric/NumericSuffixFormatRule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using System.Numerics; using GFramework.Core.Abstractions.Utility.Numeric; diff --git a/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommand.cs b/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommand.cs index 9c62f8f5..2733c428 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommand.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommand.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs.Command; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommandInput.cs b/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommandInput.cs index 9f5be0b6..9783c0f5 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommandInput.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/Command/ICommandInput.cs @@ -1,4 +1,7 @@ -namespace GFramework.Cqrs.Abstractions.Cqrs.Command; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Cqrs.Abstractions.Cqrs.Command; /// /// 命令输入接口,定义命令模式中输入数据的契约 diff --git a/GFramework.Cqrs.Abstractions/Cqrs/ICqrsContext.cs b/GFramework.Cqrs.Abstractions/Cqrs/ICqrsContext.cs index 09fc355e..1dd1dbbc 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/ICqrsContext.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/ICqrsContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/ICqrsHandlerRegistrar.cs b/GFramework.Cqrs.Abstractions/Cqrs/ICqrsHandlerRegistrar.cs index 39635d3f..e56e5437 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/ICqrsHandlerRegistrar.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/ICqrsHandlerRegistrar.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; namespace GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Abstractions/Cqrs/ICqrsRuntime.cs b/GFramework.Cqrs.Abstractions/Cqrs/ICqrsRuntime.cs index 632af83e..efb376e6 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/ICqrsRuntime.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/ICqrsRuntime.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/INotification.cs b/GFramework.Cqrs.Abstractions/Cqrs/INotification.cs index 4a2dbb68..44d80d7a 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/INotification.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/INotification.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/INotificationHandler.cs b/GFramework.Cqrs.Abstractions/Cqrs/INotificationHandler.cs index e3a007c8..a4ff4ad2 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/INotificationHandler.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/INotificationHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/IPipelineBehavior.cs b/GFramework.Cqrs.Abstractions/Cqrs/IPipelineBehavior.cs index 11423c40..9788943a 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/IPipelineBehavior.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/IPipelineBehavior.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/IRequest.cs b/GFramework.Cqrs.Abstractions/Cqrs/IRequest.cs index dd6abb62..e2e5d270 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/IRequest.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/IRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/IRequestHandler.cs b/GFramework.Cqrs.Abstractions/Cqrs/IRequestHandler.cs index 95cdd1d1..49199e9a 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/IRequestHandler.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/IRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequest.cs b/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequest.cs index 5464459b..be765418 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequest.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequestHandler.cs b/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequestHandler.cs index 44e7c79d..9bf0a8b7 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequestHandler.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/IStreamRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/MessageHandlerDelegate.cs b/GFramework.Cqrs.Abstractions/Cqrs/MessageHandlerDelegate.cs index 8575ebd8..cf424f92 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/MessageHandlerDelegate.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/MessageHandlerDelegate.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/Query/IQuery.cs b/GFramework.Cqrs.Abstractions/Cqrs/Query/IQuery.cs index edf5e1a2..a2882a7c 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/Query/IQuery.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/Query/IQuery.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs.Query; /// diff --git a/GFramework.Cqrs.Abstractions/Cqrs/Query/IQueryInput.cs b/GFramework.Cqrs.Abstractions/Cqrs/Query/IQueryInput.cs index a17e7b6a..a3bc5bfe 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/Query/IQueryInput.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/Query/IQueryInput.cs @@ -1,4 +1,7 @@ -namespace GFramework.Cqrs.Abstractions.Cqrs.Query; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Cqrs.Abstractions.Cqrs.Query; /// /// 查询输入接口,定义了查询操作的输入规范 diff --git a/GFramework.Cqrs.Abstractions/Cqrs/Unit.cs b/GFramework.Cqrs.Abstractions/Cqrs/Unit.cs index 57d053bc..eddd0adb 100644 --- a/GFramework.Cqrs.Abstractions/Cqrs/Unit.cs +++ b/GFramework.Cqrs.Abstractions/Cqrs/Unit.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Abstractions.Cqrs; /// diff --git a/GFramework.Cqrs.Abstractions/Directory.Build.props b/GFramework.Cqrs.Abstractions/Directory.Build.props index 7048b301..ccc6c295 100644 --- a/GFramework.Cqrs.Abstractions/Directory.Build.props +++ b/GFramework.Cqrs.Abstractions/Directory.Build.props @@ -1,3 +1,8 @@ + + netstandard2.1 diff --git a/GFramework.Cqrs.Abstractions/GFramework.Cqrs.Abstractions.csproj b/GFramework.Cqrs.Abstractions/GFramework.Cqrs.Abstractions.csproj index 8e07fd2c..d73e3730 100644 --- a/GFramework.Cqrs.Abstractions/GFramework.Cqrs.Abstractions.csproj +++ b/GFramework.Cqrs.Abstractions/GFramework.Cqrs.Abstractions.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Cqrs.Abstractions/GlobalUsings.cs b/GFramework.Cqrs.Abstractions/GlobalUsings.cs index 5cd04a4e..c4ba2be8 100644 --- a/GFramework.Cqrs.Abstractions/GlobalUsings.cs +++ b/GFramework.Cqrs.Abstractions/GlobalUsings.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + global using System.Collections.Generic; global using System.Threading; global using System.Threading.Tasks; diff --git a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.Models.cs b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.Models.cs index adbe74f7..026c46ae 100644 --- a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.Models.cs +++ b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.Models.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.SourceGenerators.Cqrs; /// diff --git a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.RuntimeTypeReferences.cs b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.RuntimeTypeReferences.cs index 8157d45d..44e5c72d 100644 --- a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.RuntimeTypeReferences.cs +++ b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.RuntimeTypeReferences.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.SourceGenerators.Cqrs; /// diff --git a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.SourceEmission.cs b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.SourceEmission.cs index 7a449158..80926f1b 100644 --- a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.SourceEmission.cs +++ b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.SourceEmission.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.SourceGenerators.Cqrs; /// diff --git a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.cs b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.cs index db547a04..8c1729eb 100644 --- a/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.cs +++ b/GFramework.Cqrs.SourceGenerators/Cqrs/CqrsHandlerRegistryGenerator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.SourceGenerators.Common.Constants; namespace GFramework.Cqrs.SourceGenerators.Cqrs; diff --git a/GFramework.Cqrs.SourceGenerators/GFramework.Cqrs.SourceGenerators.csproj b/GFramework.Cqrs.SourceGenerators/GFramework.Cqrs.SourceGenerators.csproj index 5f6376c3..76f7e5b8 100644 --- a/GFramework.Cqrs.SourceGenerators/GFramework.Cqrs.SourceGenerators.csproj +++ b/GFramework.Cqrs.SourceGenerators/GFramework.Cqrs.SourceGenerators.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Cqrs.SourceGenerators/GlobalUsings.cs b/GFramework.Cqrs.SourceGenerators/GlobalUsings.cs index f625284e..ce920274 100644 --- a/GFramework.Cqrs.SourceGenerators/GlobalUsings.cs +++ b/GFramework.Cqrs.SourceGenerators/GlobalUsings.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + global using System; global using System.Collections.Generic; global using System.Collections.Immutable; diff --git a/GFramework.Cqrs.Tests/Cqrs/AbstractCqrsHandlerContextTests.cs b/GFramework.Cqrs.Tests/Cqrs/AbstractCqrsHandlerContextTests.cs index 58e86f89..d77401cd 100644 --- a/GFramework.Cqrs.Tests/Cqrs/AbstractCqrsHandlerContextTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/AbstractCqrsHandlerContextTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Rule; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/AlphaDeterministicNotificationHandler.cs b/GFramework.Cqrs.Tests/Cqrs/AlphaDeterministicNotificationHandler.cs index 5142d5b7..a4690635 100644 --- a/GFramework.Cqrs.Tests/Cqrs/AlphaDeterministicNotificationHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/AlphaDeterministicNotificationHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using System.Threading.Tasks; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/ArchitectureContextComprehensiveTests.cs b/GFramework.Cqrs.Tests/Cqrs/ArchitectureContextComprehensiveTests.cs index be08d405..3200778e 100644 --- a/GFramework.Cqrs.Tests/Cqrs/ArchitectureContextComprehensiveTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/ArchitectureContextComprehensiveTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Events; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Cqrs.Tests/Cqrs/CapturingLoggerFactoryProvider.cs b/GFramework.Cqrs.Tests/Cqrs/CapturingLoggerFactoryProvider.cs index 01b825a9..da0c26cb 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CapturingLoggerFactoryProvider.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CapturingLoggerFactoryProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using System.Threading; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextAdvancedFeaturesTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextAdvancedFeaturesTests.cs index 63fb487b..98e13bb8 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextAdvancedFeaturesTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextAdvancedFeaturesTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Architectures; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextIntegrationTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextIntegrationTests.cs index d9ff2602..f5117072 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextIntegrationTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsArchitectureContextIntegrationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherCacheTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherCacheTests.cs index cd95d2d8..1f4bfadf 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherCacheTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherCacheTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Architectures; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherContextValidationTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherContextValidationTests.cs index bc12c773..b28378fb 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherContextValidationTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsDispatcherContextValidationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using System.Runtime.CompilerServices; using GFramework.Core.Abstractions.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsGeneratedRequestInvokerProviderTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsGeneratedRequestInvokerProviderTests.cs index 74a4ac44..6ddbe292 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsGeneratedRequestInvokerProviderTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsGeneratedRequestInvokerProviderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Architectures; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarFallbackFailureTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarFallbackFailureTests.cs index e4d7ef3f..ebfa6659 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarFallbackFailureTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarFallbackFailureTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; using GFramework.Core.Logging; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarTests.cs index 40a1da7b..967fc6a8 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsHandlerRegistrarTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Architectures; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsNotificationPublisherTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsNotificationPublisherTests.cs index b069be94..3b4b66e6 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsNotificationPublisherTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsNotificationPublisherTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsReflectionFallbackAttributeTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsReflectionFallbackAttributeTests.cs index 53bb2988..bcbd307d 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsReflectionFallbackAttributeTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsReflectionFallbackAttributeTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Tests.Cqrs; /// diff --git a/GFramework.Cqrs.Tests/Cqrs/CqrsRegistrationServiceTests.cs b/GFramework.Cqrs.Tests/Cqrs/CqrsRegistrationServiceTests.cs index b1c3c60b..e80b5e3f 100644 --- a/GFramework.Cqrs.Tests/Cqrs/CqrsRegistrationServiceTests.cs +++ b/GFramework.Cqrs.Tests/Cqrs/CqrsRegistrationServiceTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Cqrs.Abstractions.Cqrs; using GFramework.Cqrs.Tests.Logging; diff --git a/GFramework.Cqrs.Tests/Cqrs/DeterministicNotificationHandlerState.cs b/GFramework.Cqrs.Tests/Cqrs/DeterministicNotificationHandlerState.cs index 451b011c..0144be06 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DeterministicNotificationHandlerState.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DeterministicNotificationHandlerState.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DeterministicOrderNotification.cs b/GFramework.Cqrs.Tests/Cqrs/DeterministicOrderNotification.cs index 9bc0e059..25b2f016 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DeterministicOrderNotification.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DeterministicOrderNotification.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotification.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotification.cs index 00a2535c..5ef69360 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotification.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotification.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotificationHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotificationHandler.cs index b023398a..42594729 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotificationHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheNotificationHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequest.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequest.cs index 005b06d0..2a8bb6b5 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequestHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequestHandler.cs index acd1f043..6b90e658 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequestHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamHandler.cs index 476cbe43..096c95fc 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamRequest.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamRequest.cs index e09b23cb..2d023fbd 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherCacheStreamRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshHandler.cs index 61a07ccc..e390f3ea 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; using GFramework.Cqrs.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshNotification.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshNotification.cs index faa3f5af..76db9474 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshNotification.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshNotification.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshState.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshState.cs index b6d8a7ca..a48e0aed 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshState.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherNotificationContextRefreshState.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Core.Abstractions.Architectures; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheBehavior.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheBehavior.cs index 7335616c..165a81ed 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheBehavior.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheBehavior.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequest.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequest.cs index 53cd733d..b909f13f 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequestHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequestHandler.cs index d52636a1..f1ba98b4 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequestHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineCacheRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshBehavior.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshBehavior.cs index 360eaf46..a2c401c9 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshBehavior.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshBehavior.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; using GFramework.Cqrs.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequest.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequest.cs index 6e0035ef..680eac68 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequestHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequestHandler.cs index f69923a9..92bf5d40 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequestHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; using GFramework.Cqrs.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshState.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshState.cs index 99cae23a..63ac8ea1 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshState.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextRefreshState.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Core.Abstractions.Architectures; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextSnapshot.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextSnapshot.cs index 24d70c52..05ac5292 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextSnapshot.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineContextSnapshot.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequest.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequest.cs index 9528a060..715ac772 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequestHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequestHandler.cs index d2b88baf..1f89f415 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequestHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderCacheRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderInnerBehavior.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderInnerBehavior.cs index cf327d2a..d0aba3df 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderInnerBehavior.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderInnerBehavior.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderOuterBehavior.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderOuterBehavior.cs index aa1f0291..7d67f012 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderOuterBehavior.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderOuterBehavior.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderState.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderState.cs index fa202b85..b97674e0 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderState.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherPipelineOrderState.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshHandler.cs index 95d7c998..9f584905 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using System.Runtime.CompilerServices; using System.Threading; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshRequest.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshRequest.cs index f453886e..af86eee1 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshState.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshState.cs index 47be718b..5852280a 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshState.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherStreamContextRefreshState.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Core.Abstractions.Architectures; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequest.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequest.cs index 65821391..4d72f093 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequestHandler.cs b/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequestHandler.cs index 83082053..82248c02 100644 --- a/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequestHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/DispatcherStringCacheRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedNotificationHandlerRegistry.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedNotificationHandlerRegistry.cs index ab2c344f..fcfbcc80 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedNotificationHandlerRegistry.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedNotificationHandlerRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotification.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotification.cs index 98f79991..68528c9d 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotification.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotification.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotificationHandler.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotificationHandler.cs index 082b16f0..8073c36d 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotificationHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedRegistryNotificationHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using System.Threading.Tasks; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerProviderRegistry.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerProviderRegistry.cs index bad287b6..ad35ad3c 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerProviderRegistry.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerProviderRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequest.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequest.cs index ce07f7ac..0f6a6c2f 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequestHandler.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequestHandler.cs index 2127b216..c826a228 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequestHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedRequestInvokerRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerProviderRegistry.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerProviderRegistry.cs index 0159c7ce..0d1e9556 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerProviderRegistry.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerProviderRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequest.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequest.cs index 71c6fc56..cd4ff39f 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequest.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequest.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequestHandler.cs b/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequestHandler.cs index f60a84ff..07479d5b 100644 --- a/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequestHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/GeneratedStreamInvokerRequestHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedRequestInvokerProviderRegistry.cs b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedRequestInvokerProviderRegistry.cs index d9091157..90466312 100644 --- a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedRequestInvokerProviderRegistry.cs +++ b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedRequestInvokerProviderRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedStreamInvokerProviderRegistry.cs b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedStreamInvokerProviderRegistry.cs index 94f86b8c..df38c401 100644 --- a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedStreamInvokerProviderRegistry.cs +++ b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationGeneratedStreamInvokerProviderRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationRequestInvokerContainer.cs b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationRequestInvokerContainer.cs index 0dce0e9a..6823fb27 100644 --- a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationRequestInvokerContainer.cs +++ b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationRequestInvokerContainer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationStreamInvokerContainer.cs b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationStreamInvokerContainer.cs index 088eb722..ecd18a40 100644 --- a/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationStreamInvokerContainer.cs +++ b/GFramework.Cqrs.Tests/Cqrs/HiddenImplementationStreamInvokerContainer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Tests.Cqrs; diff --git a/GFramework.Cqrs.Tests/Cqrs/PartialGeneratedNotificationHandlerRegistry.cs b/GFramework.Cqrs.Tests/Cqrs/PartialGeneratedNotificationHandlerRegistry.cs index 8e7d47ea..22f73d01 100644 --- a/GFramework.Cqrs.Tests/Cqrs/PartialGeneratedNotificationHandlerRegistry.cs +++ b/GFramework.Cqrs.Tests/Cqrs/PartialGeneratedNotificationHandlerRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/PrivateConstructorNotificationHandlerRegistry.cs b/GFramework.Cqrs.Tests/Cqrs/PrivateConstructorNotificationHandlerRegistry.cs index b9bb1b06..5f1e8380 100644 --- a/GFramework.Cqrs.Tests/Cqrs/PrivateConstructorNotificationHandlerRegistry.cs +++ b/GFramework.Cqrs.Tests/Cqrs/PrivateConstructorNotificationHandlerRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Logging; using GFramework.Core.Ioc; diff --git a/GFramework.Cqrs.Tests/Cqrs/ReflectionFallbackNotificationContainer.cs b/GFramework.Cqrs.Tests/Cqrs/ReflectionFallbackNotificationContainer.cs index d54f0dfd..02e98468 100644 --- a/GFramework.Cqrs.Tests/Cqrs/ReflectionFallbackNotificationContainer.cs +++ b/GFramework.Cqrs.Tests/Cqrs/ReflectionFallbackNotificationContainer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Threading; using System.Threading.Tasks; diff --git a/GFramework.Cqrs.Tests/Cqrs/ZetaDeterministicNotificationHandler.cs b/GFramework.Cqrs.Tests/Cqrs/ZetaDeterministicNotificationHandler.cs index 10ff18e0..799e3fb4 100644 --- a/GFramework.Cqrs.Tests/Cqrs/ZetaDeterministicNotificationHandler.cs +++ b/GFramework.Cqrs.Tests/Cqrs/ZetaDeterministicNotificationHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using System.Threading.Tasks; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs.Tests/GFramework.Cqrs.Tests.csproj b/GFramework.Cqrs.Tests/GFramework.Cqrs.Tests.csproj index 83b93ec3..8b497d4e 100644 --- a/GFramework.Cqrs.Tests/GFramework.Cqrs.Tests.csproj +++ b/GFramework.Cqrs.Tests/GFramework.Cqrs.Tests.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Cqrs/Cqrs/CqrsContextAwareHandlerBase.cs b/GFramework.Cqrs/Cqrs/CqrsContextAwareHandlerBase.cs index 73e25ff1..62d587b3 100644 --- a/GFramework.Cqrs/Cqrs/CqrsContextAwareHandlerBase.cs +++ b/GFramework.Cqrs/Cqrs/CqrsContextAwareHandlerBase.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Cqrs/CqrsHandlerRegistryAttribute.cs b/GFramework.Cqrs/CqrsHandlerRegistryAttribute.cs index a64875f3..1e626ad4 100644 --- a/GFramework.Cqrs/CqrsHandlerRegistryAttribute.cs +++ b/GFramework.Cqrs/CqrsHandlerRegistryAttribute.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs; /// diff --git a/GFramework.Cqrs/CqrsReflectionFallbackAttribute.cs b/GFramework.Cqrs/CqrsReflectionFallbackAttribute.cs index b16afe0b..a3e08114 100644 --- a/GFramework.Cqrs/CqrsReflectionFallbackAttribute.cs +++ b/GFramework.Cqrs/CqrsReflectionFallbackAttribute.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs; /// diff --git a/GFramework.Cqrs/CqrsRequestInvokerDescriptor.cs b/GFramework.Cqrs/CqrsRequestInvokerDescriptor.cs index d05c6b2e..758a2da8 100644 --- a/GFramework.Cqrs/CqrsRequestInvokerDescriptor.cs +++ b/GFramework.Cqrs/CqrsRequestInvokerDescriptor.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs/CqrsRequestInvokerDescriptorEntry.cs b/GFramework.Cqrs/CqrsRequestInvokerDescriptorEntry.cs index 81e36731..871e8ca6 100644 --- a/GFramework.Cqrs/CqrsRequestInvokerDescriptorEntry.cs +++ b/GFramework.Cqrs/CqrsRequestInvokerDescriptorEntry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs; /// diff --git a/GFramework.Cqrs/CqrsRuntimeFactory.cs b/GFramework.Cqrs/CqrsRuntimeFactory.cs index 32433f88..53e2fc91 100644 --- a/GFramework.Cqrs/CqrsRuntimeFactory.cs +++ b/GFramework.Cqrs/CqrsRuntimeFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Logging; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs/CqrsStreamInvokerDescriptor.cs b/GFramework.Cqrs/CqrsStreamInvokerDescriptor.cs index fd8d5a3c..fddfaf34 100644 --- a/GFramework.Cqrs/CqrsStreamInvokerDescriptor.cs +++ b/GFramework.Cqrs/CqrsStreamInvokerDescriptor.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs/CqrsStreamInvokerDescriptorEntry.cs b/GFramework.Cqrs/CqrsStreamInvokerDescriptorEntry.cs index b760fb7f..6c836bd6 100644 --- a/GFramework.Cqrs/CqrsStreamInvokerDescriptorEntry.cs +++ b/GFramework.Cqrs/CqrsStreamInvokerDescriptorEntry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs; /// diff --git a/GFramework.Cqrs/Extensions/ContextAwareCqrsCommandExtensions.cs b/GFramework.Cqrs/Extensions/ContextAwareCqrsCommandExtensions.cs index b3c2bde8..8c5fa893 100644 --- a/GFramework.Cqrs/Extensions/ContextAwareCqrsCommandExtensions.cs +++ b/GFramework.Cqrs/Extensions/ContextAwareCqrsCommandExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Rule; using GFramework.Cqrs.Abstractions.Cqrs.Command; diff --git a/GFramework.Cqrs/Extensions/ContextAwareCqrsExtensions.cs b/GFramework.Cqrs/Extensions/ContextAwareCqrsExtensions.cs index ef5eb247..67727fa3 100644 --- a/GFramework.Cqrs/Extensions/ContextAwareCqrsExtensions.cs +++ b/GFramework.Cqrs/Extensions/ContextAwareCqrsExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Rule; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs/Extensions/ContextAwareCqrsQueryExtensions.cs b/GFramework.Cqrs/Extensions/ContextAwareCqrsQueryExtensions.cs index 21c1e952..d24cc176 100644 --- a/GFramework.Cqrs/Extensions/ContextAwareCqrsQueryExtensions.cs +++ b/GFramework.Cqrs/Extensions/ContextAwareCqrsQueryExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Rule; using GFramework.Cqrs.Abstractions.Cqrs.Query; diff --git a/GFramework.Cqrs/GFramework.Cqrs.csproj b/GFramework.Cqrs/GFramework.Cqrs.csproj index 86323d6e..77640c58 100644 --- a/GFramework.Cqrs/GFramework.Cqrs.csproj +++ b/GFramework.Cqrs/GFramework.Cqrs.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Cqrs/GlobalUsings.cs b/GFramework.Cqrs/GlobalUsings.cs index 1e6e7889..11a280a8 100644 --- a/GFramework.Cqrs/GlobalUsings.cs +++ b/GFramework.Cqrs/GlobalUsings.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + global using System; global using System.Collections.Generic; global using System.Linq; diff --git a/GFramework.Cqrs/ICqrsHandlerRegistry.cs b/GFramework.Cqrs/ICqrsHandlerRegistry.cs index db3775de..c6d019a6 100644 --- a/GFramework.Cqrs/ICqrsHandlerRegistry.cs +++ b/GFramework.Cqrs/ICqrsHandlerRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; namespace GFramework.Cqrs; diff --git a/GFramework.Cqrs/ICqrsRegistrationService.cs b/GFramework.Cqrs/ICqrsRegistrationService.cs index 89a0a9d1..4595f445 100644 --- a/GFramework.Cqrs/ICqrsRegistrationService.cs +++ b/GFramework.Cqrs/ICqrsRegistrationService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; namespace GFramework.Cqrs; diff --git a/GFramework.Cqrs/ICqrsRequestInvokerProvider.cs b/GFramework.Cqrs/ICqrsRequestInvokerProvider.cs index 56b74741..372aff69 100644 --- a/GFramework.Cqrs/ICqrsRequestInvokerProvider.cs +++ b/GFramework.Cqrs/ICqrsRequestInvokerProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs; diff --git a/GFramework.Cqrs/ICqrsStreamInvokerProvider.cs b/GFramework.Cqrs/ICqrsStreamInvokerProvider.cs index 2a2d907e..cd2cdfa6 100644 --- a/GFramework.Cqrs/ICqrsStreamInvokerProvider.cs +++ b/GFramework.Cqrs/ICqrsStreamInvokerProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs; diff --git a/GFramework.Cqrs/IEnumeratesCqrsRequestInvokerDescriptors.cs b/GFramework.Cqrs/IEnumeratesCqrsRequestInvokerDescriptors.cs index 0aa08698..3349bf46 100644 --- a/GFramework.Cqrs/IEnumeratesCqrsRequestInvokerDescriptors.cs +++ b/GFramework.Cqrs/IEnumeratesCqrsRequestInvokerDescriptors.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs; /// diff --git a/GFramework.Cqrs/IEnumeratesCqrsStreamInvokerDescriptors.cs b/GFramework.Cqrs/IEnumeratesCqrsStreamInvokerDescriptors.cs index df849140..73e1d194 100644 --- a/GFramework.Cqrs/IEnumeratesCqrsStreamInvokerDescriptors.cs +++ b/GFramework.Cqrs/IEnumeratesCqrsStreamInvokerDescriptors.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs; /// diff --git a/GFramework.Cqrs/Internal/CqrsDispatcher.cs b/GFramework.Cqrs/Internal/CqrsDispatcher.cs index 0fa91f76..892a265f 100644 --- a/GFramework.Cqrs/Internal/CqrsDispatcher.cs +++ b/GFramework.Cqrs/Internal/CqrsDispatcher.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Concurrent; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Ioc; diff --git a/GFramework.Cqrs/Internal/CqrsHandlerRegistrar.cs b/GFramework.Cqrs/Internal/CqrsHandlerRegistrar.cs index 8284c912..3607771c 100644 --- a/GFramework.Cqrs/Internal/CqrsHandlerRegistrar.cs +++ b/GFramework.Cqrs/Internal/CqrsHandlerRegistrar.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Logging; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs/Internal/DefaultCqrsHandlerRegistrar.cs b/GFramework.Cqrs/Internal/DefaultCqrsHandlerRegistrar.cs index 70d33562..e128e9ba 100644 --- a/GFramework.Cqrs/Internal/DefaultCqrsHandlerRegistrar.cs +++ b/GFramework.Cqrs/Internal/DefaultCqrsHandlerRegistrar.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using GFramework.Core.Abstractions.Ioc; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Cqrs/Internal/DefaultCqrsRegistrationService.cs b/GFramework.Cqrs/Internal/DefaultCqrsRegistrationService.cs index 7993d748..d14f4bee 100644 --- a/GFramework.Cqrs/Internal/DefaultCqrsRegistrationService.cs +++ b/GFramework.Cqrs/Internal/DefaultCqrsRegistrationService.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Cqrs/Internal/SequentialNotificationPublisher.cs b/GFramework.Cqrs/Internal/SequentialNotificationPublisher.cs index 2f40789f..534ecaf0 100644 --- a/GFramework.Cqrs/Internal/SequentialNotificationPublisher.cs +++ b/GFramework.Cqrs/Internal/SequentialNotificationPublisher.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; using GFramework.Cqrs.Notification; diff --git a/GFramework.Cqrs/Internal/WeakKeyCache.cs b/GFramework.Cqrs/Internal/WeakKeyCache.cs index b632f1a2..a39d3f6b 100644 --- a/GFramework.Cqrs/Internal/WeakKeyCache.cs +++ b/GFramework.Cqrs/Internal/WeakKeyCache.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Internal; /// diff --git a/GFramework.Cqrs/Internal/WeakTypePairCache.cs b/GFramework.Cqrs/Internal/WeakTypePairCache.cs index f1870545..857fe051 100644 --- a/GFramework.Cqrs/Internal/WeakTypePairCache.cs +++ b/GFramework.Cqrs/Internal/WeakTypePairCache.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Cqrs.Internal; /// diff --git a/GFramework.Cqrs/Notification/DelegatingNotificationPublishContext.cs b/GFramework.Cqrs/Notification/DelegatingNotificationPublishContext.cs index ee78517a..c6ffb129 100644 --- a/GFramework.Cqrs/Notification/DelegatingNotificationPublishContext.cs +++ b/GFramework.Cqrs/Notification/DelegatingNotificationPublishContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Notification; diff --git a/GFramework.Cqrs/Notification/INotificationPublisher.cs b/GFramework.Cqrs/Notification/INotificationPublisher.cs index 67000367..bd6406bb 100644 --- a/GFramework.Cqrs/Notification/INotificationPublisher.cs +++ b/GFramework.Cqrs/Notification/INotificationPublisher.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Notification; diff --git a/GFramework.Cqrs/Notification/NotificationHandlerExecutor.cs b/GFramework.Cqrs/Notification/NotificationHandlerExecutor.cs index 9dcf28ee..77d8173a 100644 --- a/GFramework.Cqrs/Notification/NotificationHandlerExecutor.cs +++ b/GFramework.Cqrs/Notification/NotificationHandlerExecutor.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Notification; diff --git a/GFramework.Cqrs/Notification/NotificationPublishContext.cs b/GFramework.Cqrs/Notification/NotificationPublishContext.cs index 0ddeda81..831613f7 100644 --- a/GFramework.Cqrs/Notification/NotificationPublishContext.cs +++ b/GFramework.Cqrs/Notification/NotificationPublishContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Cqrs.Abstractions.Cqrs; namespace GFramework.Cqrs.Notification; diff --git a/GFramework.Ecs.Arch.Abstractions/ArchOptions.cs b/GFramework.Ecs.Arch.Abstractions/ArchOptions.cs index 926f877c..9a9cade7 100644 --- a/GFramework.Ecs.Arch.Abstractions/ArchOptions.cs +++ b/GFramework.Ecs.Arch.Abstractions/ArchOptions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Ecs.Arch.Abstractions; /// diff --git a/GFramework.Ecs.Arch.Abstractions/Directory.Build.props b/GFramework.Ecs.Arch.Abstractions/Directory.Build.props index 7048b301..ccc6c295 100644 --- a/GFramework.Ecs.Arch.Abstractions/Directory.Build.props +++ b/GFramework.Ecs.Arch.Abstractions/Directory.Build.props @@ -1,3 +1,8 @@ + + netstandard2.1 diff --git a/GFramework.Ecs.Arch.Abstractions/GFramework.Ecs.Arch.Abstractions.csproj b/GFramework.Ecs.Arch.Abstractions/GFramework.Ecs.Arch.Abstractions.csproj index 94337e8a..e847bd6b 100644 --- a/GFramework.Ecs.Arch.Abstractions/GFramework.Ecs.Arch.Abstractions.csproj +++ b/GFramework.Ecs.Arch.Abstractions/GFramework.Ecs.Arch.Abstractions.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Ecs.Arch.Abstractions/GlobalUsings.cs b/GFramework.Ecs.Arch.Abstractions/GlobalUsings.cs index 9d7f7e77..ef2475a8 100644 --- a/GFramework.Ecs.Arch.Abstractions/GlobalUsings.cs +++ b/GFramework.Ecs.Arch.Abstractions/GlobalUsings.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + global using System; global using System.Collections.Generic; global using System.Threading.Tasks; \ No newline at end of file diff --git a/GFramework.Ecs.Arch.Abstractions/IArchEcsModule.cs b/GFramework.Ecs.Arch.Abstractions/IArchEcsModule.cs index 4babc6aa..67665a34 100644 --- a/GFramework.Ecs.Arch.Abstractions/IArchEcsModule.cs +++ b/GFramework.Ecs.Arch.Abstractions/IArchEcsModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; namespace GFramework.Ecs.Arch.Abstractions; diff --git a/GFramework.Ecs.Arch.Abstractions/IArchSystemAdapter.cs b/GFramework.Ecs.Arch.Abstractions/IArchSystemAdapter.cs index c2030a08..c325ab62 100644 --- a/GFramework.Ecs.Arch.Abstractions/IArchSystemAdapter.cs +++ b/GFramework.Ecs.Arch.Abstractions/IArchSystemAdapter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Systems; namespace GFramework.Ecs.Arch.Abstractions; diff --git a/GFramework.Ecs.Arch.Tests/Ecs/EcsAdvancedTests.cs b/GFramework.Ecs.Arch.Tests/Ecs/EcsAdvancedTests.cs index 9873a262..49d5f466 100644 --- a/GFramework.Ecs.Arch.Tests/Ecs/EcsAdvancedTests.cs +++ b/GFramework.Ecs.Arch.Tests/Ecs/EcsAdvancedTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Diagnostics.CodeAnalysis; using Arch.Core; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Ecs.Arch.Tests/Ecs/EcsBasicTests.cs b/GFramework.Ecs.Arch.Tests/Ecs/EcsBasicTests.cs index deca15f8..32d105c0 100644 --- a/GFramework.Ecs.Arch.Tests/Ecs/EcsBasicTests.cs +++ b/GFramework.Ecs.Arch.Tests/Ecs/EcsBasicTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Diagnostics.CodeAnalysis; using Arch.Core; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Ecs.Arch.Tests/Ecs/EcsIntegrationTests.cs b/GFramework.Ecs.Arch.Tests/Ecs/EcsIntegrationTests.cs index 37ad34b0..7ad94d31 100644 --- a/GFramework.Ecs.Arch.Tests/Ecs/EcsIntegrationTests.cs +++ b/GFramework.Ecs.Arch.Tests/Ecs/EcsIntegrationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Diagnostics.CodeAnalysis; using Arch.Core; using GFramework.Core.Abstractions.Rule; diff --git a/GFramework.Ecs.Arch.Tests/GFramework.Ecs.Arch.Tests.csproj b/GFramework.Ecs.Arch.Tests/GFramework.Ecs.Arch.Tests.csproj index 33942c68..726051c4 100644 --- a/GFramework.Ecs.Arch.Tests/GFramework.Ecs.Arch.Tests.csproj +++ b/GFramework.Ecs.Arch.Tests/GFramework.Ecs.Arch.Tests.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Ecs.Arch.Tests/GlobalUsings.cs b/GFramework.Ecs.Arch.Tests/GlobalUsings.cs index 891d01f9..67b7873a 100644 --- a/GFramework.Ecs.Arch.Tests/GlobalUsings.cs +++ b/GFramework.Ecs.Arch.Tests/GlobalUsings.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + global using System; global using System.Collections.Generic; global using System.Threading.Tasks; diff --git a/GFramework.Ecs.Arch.Tests/Integration/ExplicitRegistrationTests.cs b/GFramework.Ecs.Arch.Tests/Integration/ExplicitRegistrationTests.cs index 7b864920..c057bb7b 100644 --- a/GFramework.Ecs.Arch.Tests/Integration/ExplicitRegistrationTests.cs +++ b/GFramework.Ecs.Arch.Tests/Integration/ExplicitRegistrationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using Arch.Core; using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Architectures; diff --git a/GFramework.Ecs.Arch/ArchEcsModule.cs b/GFramework.Ecs.Arch/ArchEcsModule.cs index 9a22c27a..5fd8c850 100644 --- a/GFramework.Ecs.Arch/ArchEcsModule.cs +++ b/GFramework.Ecs.Arch/ArchEcsModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using Arch.Core; using GFramework.Core.Abstractions.Ioc; diff --git a/GFramework.Ecs.Arch/ArchOptions.cs b/GFramework.Ecs.Arch/ArchOptions.cs index adc17e41..541c8ac9 100644 --- a/GFramework.Ecs.Arch/ArchOptions.cs +++ b/GFramework.Ecs.Arch/ArchOptions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Ecs.Arch; /// diff --git a/GFramework.Ecs.Arch/ArchSystemAdapter.cs b/GFramework.Ecs.Arch/ArchSystemAdapter.cs index 91aff845..8877863a 100644 --- a/GFramework.Ecs.Arch/ArchSystemAdapter.cs +++ b/GFramework.Ecs.Arch/ArchSystemAdapter.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using Arch.Core; using GFramework.Core.Extensions; using GFramework.Core.Systems; diff --git a/GFramework.Ecs.Arch/Components/Position.cs b/GFramework.Ecs.Arch/Components/Position.cs index 744ae132..4bc6767a 100644 --- a/GFramework.Ecs.Arch/Components/Position.cs +++ b/GFramework.Ecs.Arch/Components/Position.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.InteropServices; namespace GFramework.Ecs.Arch.Components; diff --git a/GFramework.Ecs.Arch/Components/Velocity.cs b/GFramework.Ecs.Arch/Components/Velocity.cs index 9cf38479..653def9f 100644 --- a/GFramework.Ecs.Arch/Components/Velocity.cs +++ b/GFramework.Ecs.Arch/Components/Velocity.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.InteropServices; namespace GFramework.Ecs.Arch.Components; diff --git a/GFramework.Ecs.Arch/Extensions/ArchExtensions.cs b/GFramework.Ecs.Arch/Extensions/ArchExtensions.cs index 1f2a589b..ee7c576a 100644 --- a/GFramework.Ecs.Arch/Extensions/ArchExtensions.cs +++ b/GFramework.Ecs.Arch/Extensions/ArchExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; namespace GFramework.Ecs.Arch.Extensions; diff --git a/GFramework.Ecs.Arch/GFramework.Ecs.Arch.csproj b/GFramework.Ecs.Arch/GFramework.Ecs.Arch.csproj index a79bec70..5dc363de 100644 --- a/GFramework.Ecs.Arch/GFramework.Ecs.Arch.csproj +++ b/GFramework.Ecs.Arch/GFramework.Ecs.Arch.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Ecs.Arch/GlobalUsings.cs b/GFramework.Ecs.Arch/GlobalUsings.cs index 50bd209b..3f768e2b 100644 --- a/GFramework.Ecs.Arch/GlobalUsings.cs +++ b/GFramework.Ecs.Arch/GlobalUsings.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + global using System; global using System.Collections.Generic; global using System.Threading.Tasks; diff --git a/GFramework.Ecs.Arch/Systems/MovementSystem.cs b/GFramework.Ecs.Arch/Systems/MovementSystem.cs index 73b589c2..a36e63ac 100644 --- a/GFramework.Ecs.Arch/Systems/MovementSystem.cs +++ b/GFramework.Ecs.Arch/Systems/MovementSystem.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using Arch.Core; using GFramework.Ecs.Arch.Components; diff --git a/GFramework.Game.Abstractions/Asset/IAssetRegistry.cs b/GFramework.Game.Abstractions/Asset/IAssetRegistry.cs index 57bf55f4..e16415f7 100644 --- a/GFramework.Game.Abstractions/Asset/IAssetRegistry.cs +++ b/GFramework.Game.Abstractions/Asset/IAssetRegistry.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Registries; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Registries; using GFramework.Core.Abstractions.Utility; namespace GFramework.Game.Abstractions.Asset; diff --git a/GFramework.Game.Abstractions/Config/ConfigLoadDiagnostic.cs b/GFramework.Game.Abstractions/Config/ConfigLoadDiagnostic.cs index 2912597f..04cd6fd6 100644 --- a/GFramework.Game.Abstractions/Config/ConfigLoadDiagnostic.cs +++ b/GFramework.Game.Abstractions/Config/ConfigLoadDiagnostic.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Abstractions.Config; /// diff --git a/GFramework.Game.Abstractions/Config/ConfigLoadException.cs b/GFramework.Game.Abstractions/Config/ConfigLoadException.cs index bee1d31b..1bcb479c 100644 --- a/GFramework.Game.Abstractions/Config/ConfigLoadException.cs +++ b/GFramework.Game.Abstractions/Config/ConfigLoadException.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Abstractions.Config; /// diff --git a/GFramework.Game.Abstractions/Config/ConfigLoadFailureKind.cs b/GFramework.Game.Abstractions/Config/ConfigLoadFailureKind.cs index 2bb11619..9329bbd9 100644 --- a/GFramework.Game.Abstractions/Config/ConfigLoadFailureKind.cs +++ b/GFramework.Game.Abstractions/Config/ConfigLoadFailureKind.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Abstractions.Config; /// diff --git a/GFramework.Game.Abstractions/Config/IConfigLoader.cs b/GFramework.Game.Abstractions/Config/IConfigLoader.cs index 4d3be28e..2cd43e87 100644 --- a/GFramework.Game.Abstractions/Config/IConfigLoader.cs +++ b/GFramework.Game.Abstractions/Config/IConfigLoader.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Utility; namespace GFramework.Game.Abstractions.Config; diff --git a/GFramework.Game.Abstractions/Config/IConfigRegistry.cs b/GFramework.Game.Abstractions/Config/IConfigRegistry.cs index 07d98d65..6a0c1310 100644 --- a/GFramework.Game.Abstractions/Config/IConfigRegistry.cs +++ b/GFramework.Game.Abstractions/Config/IConfigRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Utility; namespace GFramework.Game.Abstractions.Config; diff --git a/GFramework.Game.Abstractions/Config/IConfigTable.cs b/GFramework.Game.Abstractions/Config/IConfigTable.cs index 1cd781a0..e04e6273 100644 --- a/GFramework.Game.Abstractions/Config/IConfigTable.cs +++ b/GFramework.Game.Abstractions/Config/IConfigTable.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Utility; namespace GFramework.Game.Abstractions.Config; diff --git a/GFramework.Game.Abstractions/Directory.Build.props b/GFramework.Game.Abstractions/Directory.Build.props index b64f611a..35257964 100644 --- a/GFramework.Game.Abstractions/Directory.Build.props +++ b/GFramework.Game.Abstractions/Directory.Build.props @@ -1,4 +1,9 @@ - + + + netstandard2.1 diff --git a/GFramework.Game.Abstractions/Enums/UITransitionPhases.cs b/GFramework.Game.Abstractions/Enums/UITransitionPhases.cs index ebde245c..5b864c4f 100644 --- a/GFramework.Game.Abstractions/Enums/UITransitionPhases.cs +++ b/GFramework.Game.Abstractions/Enums/UITransitionPhases.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Abstractions.Enums; /// diff --git a/GFramework.Game.Abstractions/Enums/UiLayer.cs b/GFramework.Game.Abstractions/Enums/UiLayer.cs index be9e20d5..88be8054 100644 --- a/GFramework.Game.Abstractions/Enums/UiLayer.cs +++ b/GFramework.Game.Abstractions/Enums/UiLayer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Abstractions.Enums; /// diff --git a/GFramework.Game.Abstractions/Enums/UiTransitionPolicy.cs b/GFramework.Game.Abstractions/Enums/UiTransitionPolicy.cs index 19e92e81..38d2a220 100644 --- a/GFramework.Game.Abstractions/Enums/UiTransitionPolicy.cs +++ b/GFramework.Game.Abstractions/Enums/UiTransitionPolicy.cs @@ -1,4 +1,7 @@ -namespace GFramework.Game.Abstractions.Enums; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Game.Abstractions.Enums; /// /// UI页面过渡策略枚举 diff --git a/GFramework.Game.Abstractions/Enums/UiTransitionType.cs b/GFramework.Game.Abstractions/Enums/UiTransitionType.cs index 103e60ff..ebabe2e0 100644 --- a/GFramework.Game.Abstractions/Enums/UiTransitionType.cs +++ b/GFramework.Game.Abstractions/Enums/UiTransitionType.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Abstractions.Enums; /// diff --git a/GFramework.Game.Abstractions/GFramework.Game.Abstractions.csproj b/GFramework.Game.Abstractions/GFramework.Game.Abstractions.csproj index bb5717f6..ab2a98ba 100644 --- a/GFramework.Game.Abstractions/GFramework.Game.Abstractions.csproj +++ b/GFramework.Game.Abstractions/GFramework.Game.Abstractions.csproj @@ -1,4 +1,9 @@ - + + + + diff --git a/GFramework.Game.SourceGenerators/GeWuYou.GFramework.Game.SourceGenerators.targets b/GFramework.Game.SourceGenerators/GeWuYou.GFramework.Game.SourceGenerators.targets index 5d5b5815..5d8a4a08 100644 --- a/GFramework.Game.SourceGenerators/GeWuYou.GFramework.Game.SourceGenerators.targets +++ b/GFramework.Game.SourceGenerators/GeWuYou.GFramework.Game.SourceGenerators.targets @@ -1,4 +1,9 @@ + + + diff --git a/GFramework.Game.Tests/Serializer/JsonSerializerTests.cs b/GFramework.Game.Tests/Serializer/JsonSerializerTests.cs index 347092a9..b8ab1362 100644 --- a/GFramework.Game.Tests/Serializer/JsonSerializerTests.cs +++ b/GFramework.Game.Tests/Serializer/JsonSerializerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using Newtonsoft.Json; using GameJsonSerializer = GFramework.Game.Serializer.JsonSerializer; diff --git a/GFramework.Game.Tests/Setting/GodotLocalizationSettingsTests.cs b/GFramework.Game.Tests/Setting/GodotLocalizationSettingsTests.cs index cb452c3d..70d5caab 100644 --- a/GFramework.Game.Tests/Setting/GodotLocalizationSettingsTests.cs +++ b/GFramework.Game.Tests/Setting/GodotLocalizationSettingsTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Localization; using GFramework.Game.Abstractions.Setting; using GFramework.Game.Abstractions.Setting.Data; diff --git a/GFramework.Game.Tests/Setting/SettingsModelTests.cs b/GFramework.Game.Tests/Setting/SettingsModelTests.cs index d5111c6c..41adf6cf 100644 --- a/GFramework.Game.Tests/Setting/SettingsModelTests.cs +++ b/GFramework.Game.Tests/Setting/SettingsModelTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using System.Threading; using GFramework.Core.Abstractions.Architectures; diff --git a/GFramework.Game.Tests/Setting/SettingsSystemTests.cs b/GFramework.Game.Tests/Setting/SettingsSystemTests.cs index 372985e4..a10d33ec 100644 --- a/GFramework.Game.Tests/Setting/SettingsSystemTests.cs +++ b/GFramework.Game.Tests/Setting/SettingsSystemTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Abstractions.Events; diff --git a/GFramework.Game/Config/ConfigLoadExceptionFactory.cs b/GFramework.Game/Config/ConfigLoadExceptionFactory.cs index b7639aca..bda6ba05 100644 --- a/GFramework.Game/Config/ConfigLoadExceptionFactory.cs +++ b/GFramework.Game/Config/ConfigLoadExceptionFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Config; namespace GFramework.Game.Config; diff --git a/GFramework.Game/Config/ConfigRegistry.cs b/GFramework.Game/Config/ConfigRegistry.cs index a637dff3..355776e7 100644 --- a/GFramework.Game/Config/ConfigRegistry.cs +++ b/GFramework.Game/Config/ConfigRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Config; namespace GFramework.Game.Config; diff --git a/GFramework.Game/Config/GameConfigBootstrap.cs b/GFramework.Game/Config/GameConfigBootstrap.cs index 84122fd6..26ca9c56 100644 --- a/GFramework.Game/Config/GameConfigBootstrap.cs +++ b/GFramework.Game/Config/GameConfigBootstrap.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Threading; using GFramework.Core.Abstractions.Events; using GFramework.Game.Abstractions.Config; diff --git a/GFramework.Game/Config/GameConfigBootstrapOptions.cs b/GFramework.Game/Config/GameConfigBootstrapOptions.cs index bb517c14..cd882e7f 100644 --- a/GFramework.Game/Config/GameConfigBootstrapOptions.cs +++ b/GFramework.Game/Config/GameConfigBootstrapOptions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Config; namespace GFramework.Game.Config; diff --git a/GFramework.Game/Config/GameConfigModule.cs b/GFramework.Game/Config/GameConfigModule.cs index 1f964e04..42ede20a 100644 --- a/GFramework.Game/Config/GameConfigModule.cs +++ b/GFramework.Game/Config/GameConfigModule.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Threading; using GFramework.Core.Abstractions.Architectures; diff --git a/GFramework.Game/Config/InMemoryConfigTable.cs b/GFramework.Game/Config/InMemoryConfigTable.cs index bf6bd287..6a5a9b50 100644 --- a/GFramework.Game/Config/InMemoryConfigTable.cs +++ b/GFramework.Game/Config/InMemoryConfigTable.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.ObjectModel; using GFramework.Game.Abstractions.Config; diff --git a/GFramework.Game/Config/YamlConfigAllowedValue.cs b/GFramework.Game/Config/YamlConfigAllowedValue.cs index 504d285b..94f6fc3a 100644 --- a/GFramework.Game/Config/YamlConfigAllowedValue.cs +++ b/GFramework.Game/Config/YamlConfigAllowedValue.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigArrayConstraints.cs b/GFramework.Game/Config/YamlConfigArrayConstraints.cs index b7a91128..455d2b76 100644 --- a/GFramework.Game/Config/YamlConfigArrayConstraints.cs +++ b/GFramework.Game/Config/YamlConfigArrayConstraints.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigArrayContainsConstraints.cs b/GFramework.Game/Config/YamlConfigArrayContainsConstraints.cs index e954fcd8..ba613a85 100644 --- a/GFramework.Game/Config/YamlConfigArrayContainsConstraints.cs +++ b/GFramework.Game/Config/YamlConfigArrayContainsConstraints.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigConditionalSchemas.cs b/GFramework.Game/Config/YamlConfigConditionalSchemas.cs index b71cdfc3..eca76a77 100644 --- a/GFramework.Game/Config/YamlConfigConditionalSchemas.cs +++ b/GFramework.Game/Config/YamlConfigConditionalSchemas.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigConstantValue.cs b/GFramework.Game/Config/YamlConfigConstantValue.cs index 0156a710..d7c5531c 100644 --- a/GFramework.Game/Config/YamlConfigConstantValue.cs +++ b/GFramework.Game/Config/YamlConfigConstantValue.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigHotReloadOptions.cs b/GFramework.Game/Config/YamlConfigHotReloadOptions.cs index 52b17006..d22a220f 100644 --- a/GFramework.Game/Config/YamlConfigHotReloadOptions.cs +++ b/GFramework.Game/Config/YamlConfigHotReloadOptions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigLoader.cs b/GFramework.Game/Config/YamlConfigLoader.cs index d6faaaf0..3771d572 100644 --- a/GFramework.Game/Config/YamlConfigLoader.cs +++ b/GFramework.Game/Config/YamlConfigLoader.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Diagnostics; using System.Globalization; using System.Threading; diff --git a/GFramework.Game/Config/YamlConfigNumericConstraints.cs b/GFramework.Game/Config/YamlConfigNumericConstraints.cs index 977eb007..20007fde 100644 --- a/GFramework.Game/Config/YamlConfigNumericConstraints.cs +++ b/GFramework.Game/Config/YamlConfigNumericConstraints.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigObjectConstraints.cs b/GFramework.Game/Config/YamlConfigObjectConstraints.cs index ae148d6c..80c79974 100644 --- a/GFramework.Game/Config/YamlConfigObjectConstraints.cs +++ b/GFramework.Game/Config/YamlConfigObjectConstraints.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigReferenceUsage.cs b/GFramework.Game/Config/YamlConfigReferenceUsage.cs index ba9ff1ea..c7a02c42 100644 --- a/GFramework.Game/Config/YamlConfigReferenceUsage.cs +++ b/GFramework.Game/Config/YamlConfigReferenceUsage.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigScalarConstraints.cs b/GFramework.Game/Config/YamlConfigScalarConstraints.cs index df632030..1c5dd769 100644 --- a/GFramework.Game/Config/YamlConfigScalarConstraints.cs +++ b/GFramework.Game/Config/YamlConfigScalarConstraints.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigSchema.cs b/GFramework.Game/Config/YamlConfigSchema.cs index a0ebc969..676d9d89 100644 --- a/GFramework.Game/Config/YamlConfigSchema.cs +++ b/GFramework.Game/Config/YamlConfigSchema.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigSchemaNode.cs b/GFramework.Game/Config/YamlConfigSchemaNode.cs index aeeb3ab2..0ef9060d 100644 --- a/GFramework.Game/Config/YamlConfigSchemaNode.cs +++ b/GFramework.Game/Config/YamlConfigSchemaNode.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigSchemaPropertyType.cs b/GFramework.Game/Config/YamlConfigSchemaPropertyType.cs index cd1d464d..af27219e 100644 --- a/GFramework.Game/Config/YamlConfigSchemaPropertyType.cs +++ b/GFramework.Game/Config/YamlConfigSchemaPropertyType.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.SourceGenerators.Abstractions.Enums; namespace GFramework.Game.Config; diff --git a/GFramework.Game/Config/YamlConfigSchemaValidator.ObjectKeywords.cs b/GFramework.Game/Config/YamlConfigSchemaValidator.ObjectKeywords.cs index 7572655f..1af1758d 100644 --- a/GFramework.Game/Config/YamlConfigSchemaValidator.ObjectKeywords.cs +++ b/GFramework.Game/Config/YamlConfigSchemaValidator.ObjectKeywords.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Config; namespace GFramework.Game.Config; diff --git a/GFramework.Game/Config/YamlConfigSchemaValidator.cs b/GFramework.Game/Config/YamlConfigSchemaValidator.cs index 37a9d622..f520907c 100644 --- a/GFramework.Game/Config/YamlConfigSchemaValidator.cs +++ b/GFramework.Game/Config/YamlConfigSchemaValidator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Numerics; using System.Text.RegularExpressions; using GFramework.Game.Abstractions.Config; diff --git a/GFramework.Game/Config/YamlConfigStringConstraints.cs b/GFramework.Game/Config/YamlConfigStringConstraints.cs index 013e52e1..19f98fcd 100644 --- a/GFramework.Game/Config/YamlConfigStringConstraints.cs +++ b/GFramework.Game/Config/YamlConfigStringConstraints.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Text.RegularExpressions; namespace GFramework.Game.Config; diff --git a/GFramework.Game/Config/YamlConfigStringFormatConstraint.cs b/GFramework.Game/Config/YamlConfigStringFormatConstraint.cs index 6127a784..9d8e5364 100644 --- a/GFramework.Game/Config/YamlConfigStringFormatConstraint.cs +++ b/GFramework.Game/Config/YamlConfigStringFormatConstraint.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigStringFormatKind.cs b/GFramework.Game/Config/YamlConfigStringFormatKind.cs index 4be2a273..7233e88a 100644 --- a/GFramework.Game/Config/YamlConfigStringFormatKind.cs +++ b/GFramework.Game/Config/YamlConfigStringFormatKind.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.SourceGenerators.Abstractions.Enums; namespace GFramework.Game.Config; diff --git a/GFramework.Game/Config/YamlConfigTableRegistrationOptions.cs b/GFramework.Game/Config/YamlConfigTableRegistrationOptions.cs index 0f34687d..f65ab366 100644 --- a/GFramework.Game/Config/YamlConfigTableRegistrationOptions.cs +++ b/GFramework.Game/Config/YamlConfigTableRegistrationOptions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/Config/YamlConfigTextSerializer.cs b/GFramework.Game/Config/YamlConfigTextSerializer.cs index 4a79cc12..d03d933e 100644 --- a/GFramework.Game/Config/YamlConfigTextSerializer.cs +++ b/GFramework.Game/Config/YamlConfigTextSerializer.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; diff --git a/GFramework.Game/Config/YamlConfigTextValidator.cs b/GFramework.Game/Config/YamlConfigTextValidator.cs index b558e520..b98ce70b 100644 --- a/GFramework.Game/Config/YamlConfigTextValidator.cs +++ b/GFramework.Game/Config/YamlConfigTextValidator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Game.Config; /// diff --git a/GFramework.Game/GFramework.Game.csproj b/GFramework.Game/GFramework.Game.csproj index f697feee..6d2e3a10 100644 --- a/GFramework.Game/GFramework.Game.csproj +++ b/GFramework.Game/GFramework.Game.csproj @@ -1,4 +1,9 @@ - + + + GeWuYou.$(AssemblyName) diff --git a/GFramework.Game/Properties/AssemblyInfo.cs b/GFramework.Game/Properties/AssemblyInfo.cs index 61807842..2c74109e 100644 --- a/GFramework.Game/Properties/AssemblyInfo.cs +++ b/GFramework.Game/Properties/AssemblyInfo.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("GFramework.Game.Tests")] diff --git a/GFramework.Game/Serializer/JsonSerializer.cs b/GFramework.Game/Serializer/JsonSerializer.cs index 53c45268..6d4342ca 100644 --- a/GFramework.Game/Serializer/JsonSerializer.cs +++ b/GFramework.Game/Serializer/JsonSerializer.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Serializer; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Serializer; using Newtonsoft.Json; namespace GFramework.Game.Serializer; diff --git a/GFramework.Game/Setting/Events/SettingsAppliedEvent.cs b/GFramework.Game/Setting/Events/SettingsAppliedEvent.cs index 4a1715ae..0d699fce 100644 --- a/GFramework.Game/Setting/Events/SettingsAppliedEvent.cs +++ b/GFramework.Game/Setting/Events/SettingsAppliedEvent.cs @@ -1,4 +1,7 @@ -using GFramework.Game.Abstractions.Setting; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Game.Abstractions.Setting; namespace GFramework.Game.Setting.Events; diff --git a/GFramework.Game/Setting/Events/SettingsApplyingEvent.cs b/GFramework.Game/Setting/Events/SettingsApplyingEvent.cs index f9987be6..05b37d1b 100644 --- a/GFramework.Game/Setting/Events/SettingsApplyingEvent.cs +++ b/GFramework.Game/Setting/Events/SettingsApplyingEvent.cs @@ -1,4 +1,7 @@ -using GFramework.Game.Abstractions.Setting; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Game.Abstractions.Setting; namespace GFramework.Game.Setting.Events; diff --git a/GFramework.Game/Setting/Events/SettingsResetAllEvent.cs b/GFramework.Game/Setting/Events/SettingsResetAllEvent.cs index 72ae2cb7..b7a79156 100644 --- a/GFramework.Game/Setting/Events/SettingsResetAllEvent.cs +++ b/GFramework.Game/Setting/Events/SettingsResetAllEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Setting; namespace GFramework.Game.Setting.Events; diff --git a/GFramework.Game/Setting/Events/SettingsResetEvent.cs b/GFramework.Game/Setting/Events/SettingsResetEvent.cs index e991b3ab..992f1a0b 100644 --- a/GFramework.Game/Setting/Events/SettingsResetEvent.cs +++ b/GFramework.Game/Setting/Events/SettingsResetEvent.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Setting; namespace GFramework.Game.Setting.Events; diff --git a/GFramework.Game/Setting/SettingsModel.cs b/GFramework.Game/Setting/SettingsModel.cs index 8d741389..93ace6ae 100644 --- a/GFramework.Game/Setting/SettingsModel.cs +++ b/GFramework.Game/Setting/SettingsModel.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Logging; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Logging; using GFramework.Core.Extensions; using GFramework.Core.Logging; using GFramework.Core.Model; diff --git a/GFramework.Game/Setting/SettingsSystem.cs b/GFramework.Game/Setting/SettingsSystem.cs index b73580a7..3651e902 100644 --- a/GFramework.Game/Setting/SettingsSystem.cs +++ b/GFramework.Game/Setting/SettingsSystem.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Extensions; using GFramework.Core.Systems; using GFramework.Game.Abstractions.Setting; diff --git a/GFramework.Game/State/GameStateMachineSystem.cs b/GFramework.Game/State/GameStateMachineSystem.cs index d553e41d..bf221c92 100644 --- a/GFramework.Game/State/GameStateMachineSystem.cs +++ b/GFramework.Game/State/GameStateMachineSystem.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.State; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.State; using GFramework.Core.State; namespace GFramework.Game.State; diff --git a/GFramework.Game/Storage/FileStorage.cs b/GFramework.Game/Storage/FileStorage.cs index a1c3091e..b16799e1 100644 --- a/GFramework.Game/Storage/FileStorage.cs +++ b/GFramework.Game/Storage/FileStorage.cs @@ -1,4 +1,7 @@ -using System.IO; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using System.IO; using System.Text; using GFramework.Core.Abstractions.Concurrency; using GFramework.Core.Abstractions.Serializer; diff --git a/GFramework.Game/Storage/ScopedStorage.cs b/GFramework.Game/Storage/ScopedStorage.cs index c3850a79..54c0fe03 100644 --- a/GFramework.Game/Storage/ScopedStorage.cs +++ b/GFramework.Game/Storage/ScopedStorage.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Storage; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Storage; using GFramework.Game.Abstractions.Storage; namespace GFramework.Game.Storage; diff --git a/GFramework.Game/UI/Handler/LoggingTransitionHandler.cs b/GFramework.Game/UI/Handler/LoggingTransitionHandler.cs index 4d827ab5..38f78e36 100644 --- a/GFramework.Game/UI/Handler/LoggingTransitionHandler.cs +++ b/GFramework.Game/UI/Handler/LoggingTransitionHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging; using GFramework.Game.Abstractions.Enums; diff --git a/GFramework.Game/UI/Handler/UiTransitionHandlerBase.cs b/GFramework.Game/UI/Handler/UiTransitionHandlerBase.cs index 6e5b25c2..b7fbb0bb 100644 --- a/GFramework.Game/UI/Handler/UiTransitionHandlerBase.cs +++ b/GFramework.Game/UI/Handler/UiTransitionHandlerBase.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Enums; using GFramework.Game.Abstractions.UI; diff --git a/GFramework.Game/UI/UiInteractionProfiles.cs b/GFramework.Game/UI/UiInteractionProfiles.cs index 1c30ec87..d2658922 100644 --- a/GFramework.Game/UI/UiInteractionProfiles.cs +++ b/GFramework.Game/UI/UiInteractionProfiles.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Abstractions.Enums; using GFramework.Game.Abstractions.UI; diff --git a/GFramework.Game/UI/UiRouterBase.cs b/GFramework.Game/UI/UiRouterBase.cs index 8b07e328..ce368272 100644 --- a/GFramework.Game/UI/UiRouterBase.cs +++ b/GFramework.Game/UI/UiRouterBase.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Pause; using GFramework.Core.Extensions; using GFramework.Game.Abstractions.Enums; diff --git a/GFramework.Game/UI/UiTransitionPipeline.cs b/GFramework.Game/UI/UiTransitionPipeline.cs index 49101d2f..2f4a86a9 100644 --- a/GFramework.Game/UI/UiTransitionPipeline.cs +++ b/GFramework.Game/UI/UiTransitionPipeline.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Logging; using GFramework.Game.Abstractions.Enums; diff --git a/GFramework.Godot.SourceGenerators.Abstractions/AutoLoadAttribute.cs b/GFramework.Godot.SourceGenerators.Abstractions/AutoLoadAttribute.cs index a6b54ede..aea0d524 100644 --- a/GFramework.Godot.SourceGenerators.Abstractions/AutoLoadAttribute.cs +++ b/GFramework.Godot.SourceGenerators.Abstractions/AutoLoadAttribute.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + #nullable enable namespace GFramework.Godot.SourceGenerators.Abstractions; diff --git a/GFramework.Godot.SourceGenerators.Abstractions/BindNodeSignalAttribute.cs b/GFramework.Godot.SourceGenerators.Abstractions/BindNodeSignalAttribute.cs index b7db30a5..db90ea8e 100644 --- a/GFramework.Godot.SourceGenerators.Abstractions/BindNodeSignalAttribute.cs +++ b/GFramework.Godot.SourceGenerators.Abstractions/BindNodeSignalAttribute.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + #nullable enable namespace GFramework.Godot.SourceGenerators.Abstractions; diff --git a/GFramework.Godot.SourceGenerators.Abstractions/Directory.Build.props b/GFramework.Godot.SourceGenerators.Abstractions/Directory.Build.props index 5ad03b43..3fe9f61e 100644 --- a/GFramework.Godot.SourceGenerators.Abstractions/Directory.Build.props +++ b/GFramework.Godot.SourceGenerators.Abstractions/Directory.Build.props @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Godot.SourceGenerators.Abstractions/GFramework.Godot.SourceGenerators.Abstractions.csproj b/GFramework.Godot.SourceGenerators.Abstractions/GFramework.Godot.SourceGenerators.Abstractions.csproj index 477e9bcd..ec2cbc5c 100644 --- a/GFramework.Godot.SourceGenerators.Abstractions/GFramework.Godot.SourceGenerators.Abstractions.csproj +++ b/GFramework.Godot.SourceGenerators.Abstractions/GFramework.Godot.SourceGenerators.Abstractions.csproj @@ -1,4 +1,9 @@ - + + + + + net10.0 diff --git a/GFramework.Godot.SourceGenerators.Tests/GetNode/GetNodeGeneratorTests.cs b/GFramework.Godot.SourceGenerators.Tests/GetNode/GetNodeGeneratorTests.cs index d6e7cd5e..561fd907 100644 --- a/GFramework.Godot.SourceGenerators.Tests/GetNode/GetNodeGeneratorTests.cs +++ b/GFramework.Godot.SourceGenerators.Tests/GetNode/GetNodeGeneratorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.SourceGenerators.Tests.Core; namespace GFramework.Godot.SourceGenerators.Tests.GetNode; diff --git a/GFramework.Godot.SourceGenerators.Tests/Project/GodotProjectMetadataGeneratorTests.cs b/GFramework.Godot.SourceGenerators.Tests/Project/GodotProjectMetadataGeneratorTests.cs index 508273d7..2fdd7845 100644 --- a/GFramework.Godot.SourceGenerators.Tests/Project/GodotProjectMetadataGeneratorTests.cs +++ b/GFramework.Godot.SourceGenerators.Tests/Project/GodotProjectMetadataGeneratorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.SourceGenerators.Tests.Core; namespace GFramework.Godot.SourceGenerators.Tests.Project; diff --git a/GFramework.Godot.SourceGenerators.Tests/Registration/AutoRegisterExportedCollectionsGeneratorTests.cs b/GFramework.Godot.SourceGenerators.Tests/Registration/AutoRegisterExportedCollectionsGeneratorTests.cs index ded1bb0b..00a66352 100644 --- a/GFramework.Godot.SourceGenerators.Tests/Registration/AutoRegisterExportedCollectionsGeneratorTests.cs +++ b/GFramework.Godot.SourceGenerators.Tests/Registration/AutoRegisterExportedCollectionsGeneratorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.SourceGenerators.Registration; using GFramework.Godot.SourceGenerators.Tests.Core; diff --git a/GFramework.Godot.SourceGenerators/Behavior/AutoSceneGenerator.cs b/GFramework.Godot.SourceGenerators/Behavior/AutoSceneGenerator.cs index ee389f0e..0a28d4a6 100644 --- a/GFramework.Godot.SourceGenerators/Behavior/AutoSceneGenerator.cs +++ b/GFramework.Godot.SourceGenerators/Behavior/AutoSceneGenerator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.SourceGenerators.Diagnostics; using GFramework.SourceGenerators.Common.Constants; using GFramework.SourceGenerators.Common.Diagnostics; diff --git a/GFramework.Godot.SourceGenerators/Behavior/AutoUiPageGenerator.cs b/GFramework.Godot.SourceGenerators/Behavior/AutoUiPageGenerator.cs index ca193956..8d1ee0d6 100644 --- a/GFramework.Godot.SourceGenerators/Behavior/AutoUiPageGenerator.cs +++ b/GFramework.Godot.SourceGenerators/Behavior/AutoUiPageGenerator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.SourceGenerators.Diagnostics; using GFramework.SourceGenerators.Common.Constants; using GFramework.SourceGenerators.Common.Diagnostics; diff --git a/GFramework.Godot.SourceGenerators/BindNodeSignalGenerator.cs b/GFramework.Godot.SourceGenerators/BindNodeSignalGenerator.cs index e0e4e3a1..8897fd8b 100644 --- a/GFramework.Godot.SourceGenerators/BindNodeSignalGenerator.cs +++ b/GFramework.Godot.SourceGenerators/BindNodeSignalGenerator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Immutable; using System.Runtime.CompilerServices; using System.Text; diff --git a/GFramework.Godot.SourceGenerators/Diagnostics/AutoBehaviorDiagnostics.cs b/GFramework.Godot.SourceGenerators/Diagnostics/AutoBehaviorDiagnostics.cs index 42c9dbec..f25fe0e3 100644 --- a/GFramework.Godot.SourceGenerators/Diagnostics/AutoBehaviorDiagnostics.cs +++ b/GFramework.Godot.SourceGenerators/Diagnostics/AutoBehaviorDiagnostics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.SourceGenerators.Common.Constants; namespace GFramework.Godot.SourceGenerators.Diagnostics; diff --git a/GFramework.Godot.SourceGenerators/Diagnostics/AutoRegisterExportedCollectionsDiagnostics.cs b/GFramework.Godot.SourceGenerators/Diagnostics/AutoRegisterExportedCollectionsDiagnostics.cs index d77b3255..5bcbe1fb 100644 --- a/GFramework.Godot.SourceGenerators/Diagnostics/AutoRegisterExportedCollectionsDiagnostics.cs +++ b/GFramework.Godot.SourceGenerators/Diagnostics/AutoRegisterExportedCollectionsDiagnostics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.SourceGenerators.Common.Constants; namespace GFramework.Godot.SourceGenerators.Diagnostics; diff --git a/GFramework.Godot.SourceGenerators/Diagnostics/BindNodeSignalDiagnostics.cs b/GFramework.Godot.SourceGenerators/Diagnostics/BindNodeSignalDiagnostics.cs index 95f4b2d3..56e9907a 100644 --- a/GFramework.Godot.SourceGenerators/Diagnostics/BindNodeSignalDiagnostics.cs +++ b/GFramework.Godot.SourceGenerators/Diagnostics/BindNodeSignalDiagnostics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.SourceGenerators.Common.Constants; namespace GFramework.Godot.SourceGenerators.Diagnostics; diff --git a/GFramework.Godot.SourceGenerators/Diagnostics/GetNodeDiagnostics.cs b/GFramework.Godot.SourceGenerators/Diagnostics/GetNodeDiagnostics.cs index 14a720d4..a39945f0 100644 --- a/GFramework.Godot.SourceGenerators/Diagnostics/GetNodeDiagnostics.cs +++ b/GFramework.Godot.SourceGenerators/Diagnostics/GetNodeDiagnostics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.SourceGenerators.Common.Constants; using Microsoft.CodeAnalysis; diff --git a/GFramework.Godot.SourceGenerators/Diagnostics/GodotProjectDiagnostics.cs b/GFramework.Godot.SourceGenerators/Diagnostics/GodotProjectDiagnostics.cs index 2533372e..b6544e4e 100644 --- a/GFramework.Godot.SourceGenerators/Diagnostics/GodotProjectDiagnostics.cs +++ b/GFramework.Godot.SourceGenerators/Diagnostics/GodotProjectDiagnostics.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.SourceGenerators.Common.Constants; namespace GFramework.Godot.SourceGenerators.Diagnostics; diff --git a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj index 3934979b..3fc57443 100644 --- a/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj +++ b/GFramework.Godot.SourceGenerators/GFramework.Godot.SourceGenerators.csproj @@ -1,4 +1,9 @@ - + + + GeWuYou.$(AssemblyName) diff --git a/GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets b/GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets index fdcf958e..78360581 100644 --- a/GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets +++ b/GFramework.Godot.SourceGenerators/GeWuYou.GFramework.Godot.SourceGenerators.targets @@ -1,4 +1,9 @@ + + diff --git a/GFramework.Godot.SourceGenerators/GetNodeGenerator.cs b/GFramework.Godot.SourceGenerators/GetNodeGenerator.cs index 7122faab..cbd2aad6 100644 --- a/GFramework.Godot.SourceGenerators/GetNodeGenerator.cs +++ b/GFramework.Godot.SourceGenerators/GetNodeGenerator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Immutable; using System.Text; using GFramework.Godot.SourceGenerators.Diagnostics; diff --git a/GFramework.Godot.SourceGenerators/GodotProjectMetadataGenerator.cs b/GFramework.Godot.SourceGenerators/GodotProjectMetadataGenerator.cs index 400c2f31..65e0f28c 100644 --- a/GFramework.Godot.SourceGenerators/GodotProjectMetadataGenerator.cs +++ b/GFramework.Godot.SourceGenerators/GodotProjectMetadataGenerator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Godot.SourceGenerators.Diagnostics; using GFramework.SourceGenerators.Common.Constants; diff --git a/GFramework.Godot.SourceGenerators/Registration/AutoRegisterExportedCollectionsGenerator.cs b/GFramework.Godot.SourceGenerators/Registration/AutoRegisterExportedCollectionsGenerator.cs index 23dc1109..e78b12a3 100644 --- a/GFramework.Godot.SourceGenerators/Registration/AutoRegisterExportedCollectionsGenerator.cs +++ b/GFramework.Godot.SourceGenerators/Registration/AutoRegisterExportedCollectionsGenerator.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.SourceGenerators.Diagnostics; using GFramework.SourceGenerators.Common.Constants; using GFramework.SourceGenerators.Common.Diagnostics; diff --git a/GFramework.Godot.Tests/Architectures/AbstractArchitectureModuleInstallationTests.cs b/GFramework.Godot.Tests/Architectures/AbstractArchitectureModuleInstallationTests.cs index 75644abc..4980cff9 100644 --- a/GFramework.Godot.Tests/Architectures/AbstractArchitectureModuleInstallationTests.cs +++ b/GFramework.Godot.Tests/Architectures/AbstractArchitectureModuleInstallationTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Architectures; using GFramework.Godot.Architectures; diff --git a/GFramework.Godot.Tests/Config/GodotYamlConfigLoaderTests.cs b/GFramework.Godot.Tests/Config/GodotYamlConfigLoaderTests.cs index fbf5a71f..fcd3ae09 100644 --- a/GFramework.Godot.Tests/Config/GodotYamlConfigLoaderTests.cs +++ b/GFramework.Godot.Tests/Config/GodotYamlConfigLoaderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Reflection; using System.Runtime.CompilerServices; using GFramework.Game.Abstractions.Config; diff --git a/GFramework.Godot.Tests/Config/GodotYamlConfigTableSourceTests.cs b/GFramework.Godot.Tests/Config/GodotYamlConfigTableSourceTests.cs index d0e491d8..e19b151a 100644 --- a/GFramework.Godot.Tests/Config/GodotYamlConfigTableSourceTests.cs +++ b/GFramework.Godot.Tests/Config/GodotYamlConfigTableSourceTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.Config; namespace GFramework.Godot.Tests.Config; diff --git a/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs b/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs index 752310f8..54f74429 100644 --- a/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs +++ b/GFramework.Godot.Tests/Coroutine/GodotTimeSourceTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Collections.Generic; using GFramework.Godot.Coroutine; using NUnit.Framework; diff --git a/GFramework.Godot.Tests/Coroutine/TimingTests.cs b/GFramework.Godot.Tests/Coroutine/TimingTests.cs index 5db137ca..4b6dd694 100644 --- a/GFramework.Godot.Tests/Coroutine/TimingTests.cs +++ b/GFramework.Godot.Tests/Coroutine/TimingTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Godot.Tests/GFramework.Godot.Tests.csproj b/GFramework.Godot.Tests/GFramework.Godot.Tests.csproj index 6a656bb0..0f0d45b0 100644 --- a/GFramework.Godot.Tests/GFramework.Godot.Tests.csproj +++ b/GFramework.Godot.Tests/GFramework.Godot.Tests.csproj @@ -1,4 +1,9 @@ - + + + net10.0 diff --git a/GFramework.Godot.Tests/Logging/GodotLogAppenderTests.cs b/GFramework.Godot.Tests/Logging/GodotLogAppenderTests.cs index dd98e173..c73b0eac 100644 --- a/GFramework.Godot.Tests/Logging/GodotLogAppenderTests.cs +++ b/GFramework.Godot.Tests/Logging/GodotLogAppenderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot.Tests/Logging/GodotLogTemplateTests.cs b/GFramework.Godot.Tests/Logging/GodotLogTemplateTests.cs index a1a34e3b..d326befc 100644 --- a/GFramework.Godot.Tests/Logging/GodotLogTemplateTests.cs +++ b/GFramework.Godot.Tests/Logging/GodotLogTemplateTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Logging; using GFramework.Godot.Logging; diff --git a/GFramework.Godot.Tests/Logging/GodotLoggerSettingsLoaderTests.cs b/GFramework.Godot.Tests/Logging/GodotLoggerSettingsLoaderTests.cs index 71f8ff18..7a86918d 100644 --- a/GFramework.Godot.Tests/Logging/GodotLoggerSettingsLoaderTests.cs +++ b/GFramework.Godot.Tests/Logging/GodotLoggerSettingsLoaderTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.IO; diff --git a/GFramework.Godot.Tests/Text/RichTextEffectPlanTests.cs b/GFramework.Godot.Tests/Text/RichTextEffectPlanTests.cs index 1bc3994b..a43ee669 100644 --- a/GFramework.Godot.Tests/Text/RichTextEffectPlanTests.cs +++ b/GFramework.Godot.Tests/Text/RichTextEffectPlanTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Tests.Text; /// diff --git a/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs b/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs index 93193ff2..484884f7 100644 --- a/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs +++ b/GFramework.Godot.Tests/Text/RichTextEffectsControllerTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Tests.Text; /// diff --git a/GFramework.Godot.Tests/Text/RichTextMarkupTests.cs b/GFramework.Godot.Tests/Text/RichTextMarkupTests.cs index c3062f28..2d3f6ac1 100644 --- a/GFramework.Godot.Tests/Text/RichTextMarkupTests.cs +++ b/GFramework.Godot.Tests/Text/RichTextMarkupTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Godot.Text; diff --git a/GFramework.Godot/Architectures/AbstractArchitecture.cs b/GFramework.Godot/Architectures/AbstractArchitecture.cs index f18483a1..cacfcbc6 100644 --- a/GFramework.Godot/Architectures/AbstractArchitecture.cs +++ b/GFramework.Godot/Architectures/AbstractArchitecture.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Environment; using GFramework.Core.Architectures; using GFramework.Core.Constants; diff --git a/GFramework.Godot/Architectures/AbstractGodotModule.cs b/GFramework.Godot/Architectures/AbstractGodotModule.cs index ed3973fc..0ecad09c 100644 --- a/GFramework.Godot/Architectures/AbstractGodotModule.cs +++ b/GFramework.Godot/Architectures/AbstractGodotModule.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Abstractions.Enums; using GFramework.Core.Architectures; using Godot; diff --git a/GFramework.Godot/Architectures/ArchitectureAnchor.cs b/GFramework.Godot/Architectures/ArchitectureAnchor.cs index cb7d3d69..535a3259 100644 --- a/GFramework.Godot/Architectures/ArchitectureAnchor.cs +++ b/GFramework.Godot/Architectures/ArchitectureAnchor.cs @@ -1,4 +1,7 @@ -using Godot; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using Godot; namespace GFramework.Godot.Architectures; diff --git a/GFramework.Godot/Architectures/IGodotModule.cs b/GFramework.Godot/Architectures/IGodotModule.cs index 0f74a411..ebb00059 100644 --- a/GFramework.Godot/Architectures/IGodotModule.cs +++ b/GFramework.Godot/Architectures/IGodotModule.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Architectures; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Architectures; using GFramework.Core.Architectures; using Godot; diff --git a/GFramework.Godot/Config/GodotYamlConfigDirectoryEntry.cs b/GFramework.Godot/Config/GodotYamlConfigDirectoryEntry.cs index 839b832b..857d0d60 100644 --- a/GFramework.Godot/Config/GodotYamlConfigDirectoryEntry.cs +++ b/GFramework.Godot/Config/GodotYamlConfigDirectoryEntry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Config; /// diff --git a/GFramework.Godot/Config/GodotYamlConfigEnvironment.cs b/GFramework.Godot/Config/GodotYamlConfigEnvironment.cs index 828f32c5..3d1c5957 100644 --- a/GFramework.Godot/Config/GodotYamlConfigEnvironment.cs +++ b/GFramework.Godot/Config/GodotYamlConfigEnvironment.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using FileAccess = Godot.FileAccess; diff --git a/GFramework.Godot/Config/GodotYamlConfigLoader.cs b/GFramework.Godot/Config/GodotYamlConfigLoader.cs index 56e4c415..f0ab62a6 100644 --- a/GFramework.Godot/Config/GodotYamlConfigLoader.cs +++ b/GFramework.Godot/Config/GodotYamlConfigLoader.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.Abstractions.Events; using GFramework.Game.Abstractions.Config; diff --git a/GFramework.Godot/Config/GodotYamlConfigLoaderOptions.cs b/GFramework.Godot/Config/GodotYamlConfigLoaderOptions.cs index 9520f534..d8b22455 100644 --- a/GFramework.Godot/Config/GodotYamlConfigLoaderOptions.cs +++ b/GFramework.Godot/Config/GodotYamlConfigLoaderOptions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Game.Config; namespace GFramework.Godot.Config; diff --git a/GFramework.Godot/Config/GodotYamlConfigTableSource.cs b/GFramework.Godot/Config/GodotYamlConfigTableSource.cs index c851751d..1c61b014 100644 --- a/GFramework.Godot/Config/GodotYamlConfigTableSource.cs +++ b/GFramework.Godot/Config/GodotYamlConfigTableSource.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; namespace GFramework.Godot.Config; diff --git a/GFramework.Godot/Coroutine/ContextAwareCoroutineExtensions.cs b/GFramework.Godot/Coroutine/ContextAwareCoroutineExtensions.cs index 15ee4561..7a462400 100644 --- a/GFramework.Godot/Coroutine/ContextAwareCoroutineExtensions.cs +++ b/GFramework.Godot/Coroutine/ContextAwareCoroutineExtensions.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Rule; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Rule; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Extensions; using GFramework.Cqrs.Abstractions.Cqrs; diff --git a/GFramework.Godot/Coroutine/GodotTimeSource.cs b/GFramework.Godot/Coroutine/GodotTimeSource.cs index 06cd5cbd..002a1296 100644 --- a/GFramework.Godot/Coroutine/GodotTimeSource.cs +++ b/GFramework.Godot/Coroutine/GodotTimeSource.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Coroutine; namespace GFramework.Godot.Coroutine; diff --git a/GFramework.Godot/Coroutine/Segment.cs b/GFramework.Godot/Coroutine/Segment.cs index 5faed11b..29e4e2aa 100644 --- a/GFramework.Godot/Coroutine/Segment.cs +++ b/GFramework.Godot/Coroutine/Segment.cs @@ -1,4 +1,7 @@ -namespace GFramework.Godot.Coroutine; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Godot.Coroutine; /// /// 定义协程执行的不同时间段枚举 diff --git a/GFramework.Godot/Coroutine/Timing.Testing.cs b/GFramework.Godot/Coroutine/Timing.Testing.cs index ea9a24ba..9bb26a14 100644 --- a/GFramework.Godot/Coroutine/Timing.Testing.cs +++ b/GFramework.Godot/Coroutine/Timing.Testing.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using GFramework.Core.Abstractions.Coroutine; diff --git a/GFramework.Godot/Coroutine/Timing.cs b/GFramework.Godot/Coroutine/Timing.cs index 2bab42a2..4eb32cc3 100644 --- a/GFramework.Godot/Coroutine/Timing.cs +++ b/GFramework.Godot/Coroutine/Timing.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using System.Reflection; using GFramework.Core.Abstractions.Coroutine; using GFramework.Core.Coroutine; using GFramework.Core.Coroutine.Instructions; diff --git a/GFramework.Godot/Extensions/GodotPathExtensions.cs b/GFramework.Godot/Extensions/GodotPathExtensions.cs index c4cfda45..9c5012c3 100644 --- a/GFramework.Godot/Extensions/GodotPathExtensions.cs +++ b/GFramework.Godot/Extensions/GodotPathExtensions.cs @@ -1,4 +1,7 @@ -namespace GFramework.Godot.Extensions; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.Godot.Extensions; /// /// 提供对 Godot 路径相关操作的扩展方法。 diff --git a/GFramework.Godot/Extensions/NodeExtensions.cs b/GFramework.Godot/Extensions/NodeExtensions.cs index b9aabb66..76cd9b67 100644 --- a/GFramework.Godot/Extensions/NodeExtensions.cs +++ b/GFramework.Godot/Extensions/NodeExtensions.cs @@ -1,4 +1,7 @@ -using Godot; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using Godot; namespace GFramework.Godot.Extensions; diff --git a/GFramework.Godot/Extensions/Signal/SignalBuilder.cs b/GFramework.Godot/Extensions/Signal/SignalBuilder.cs index e95a6c52..7d3dde81 100644 --- a/GFramework.Godot/Extensions/Signal/SignalBuilder.cs +++ b/GFramework.Godot/Extensions/Signal/SignalBuilder.cs @@ -1,4 +1,7 @@ -using Godot; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using Godot; namespace GFramework.Godot.Extensions.Signal; diff --git a/GFramework.Godot/Extensions/Signal/SignalFluentExtensions.cs b/GFramework.Godot/Extensions/Signal/SignalFluentExtensions.cs index 0de07898..29f5cde2 100644 --- a/GFramework.Godot/Extensions/Signal/SignalFluentExtensions.cs +++ b/GFramework.Godot/Extensions/Signal/SignalFluentExtensions.cs @@ -1,4 +1,7 @@ -using Godot; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using Godot; namespace GFramework.Godot.Extensions.Signal; diff --git a/GFramework.Godot/Extensions/UnRegisterExtension.cs b/GFramework.Godot/Extensions/UnRegisterExtension.cs index 49173d29..6c49444b 100644 --- a/GFramework.Godot/Extensions/UnRegisterExtension.cs +++ b/GFramework.Godot/Extensions/UnRegisterExtension.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Events; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Events; using Godot; namespace GFramework.Godot.Extensions; diff --git a/GFramework.Godot/GFramework.Godot.csproj b/GFramework.Godot/GFramework.Godot.csproj index ecc9a61a..4d48631c 100644 --- a/GFramework.Godot/GFramework.Godot.csproj +++ b/GFramework.Godot/GFramework.Godot.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.Godot/Logging/DeferredLogger.cs b/GFramework.Godot/Logging/DeferredLogger.cs index 35215030..16db68e6 100644 --- a/GFramework.Godot/Logging/DeferredLogger.cs +++ b/GFramework.Godot/Logging/DeferredLogger.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Linq; using System.Threading; diff --git a/GFramework.Godot/Logging/GodotLog.cs b/GFramework.Godot/Logging/GodotLog.cs index f305168a..e2fec259 100644 --- a/GFramework.Godot/Logging/GodotLog.cs +++ b/GFramework.Godot/Logging/GodotLog.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Threading; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot/Logging/GodotLogAppender.cs b/GFramework.Godot/Logging/GodotLogAppender.cs index dd41b8df..2b600cb5 100644 --- a/GFramework.Godot/Logging/GodotLogAppender.cs +++ b/GFramework.Godot/Logging/GodotLogAppender.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Globalization; diff --git a/GFramework.Godot/Logging/GodotLogConfigurationSource.cs b/GFramework.Godot/Logging/GodotLogConfigurationSource.cs index 7ee68d25..102addff 100644 --- a/GFramework.Godot/Logging/GodotLogConfigurationSource.cs +++ b/GFramework.Godot/Logging/GodotLogConfigurationSource.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.IO; diff --git a/GFramework.Godot/Logging/GodotLogRenderContext.cs b/GFramework.Godot/Logging/GodotLogRenderContext.cs index 095706cc..4df97eef 100644 --- a/GFramework.Godot/Logging/GodotLogRenderContext.cs +++ b/GFramework.Godot/Logging/GodotLogRenderContext.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot/Logging/GodotLogTemplate.cs b/GFramework.Godot/Logging/GodotLogTemplate.cs index 5bc147a2..a52a586a 100644 --- a/GFramework.Godot/Logging/GodotLogTemplate.cs +++ b/GFramework.Godot/Logging/GodotLogTemplate.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/GFramework.Godot/Logging/GodotLogger.cs b/GFramework.Godot/Logging/GodotLogger.cs index 87adeebe..fc0390cf 100644 --- a/GFramework.Godot/Logging/GodotLogger.cs +++ b/GFramework.Godot/Logging/GodotLogger.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot/Logging/GodotLoggerFactory.cs b/GFramework.Godot/Logging/GodotLoggerFactory.cs index dfc179a0..ed2f21dc 100644 --- a/GFramework.Godot/Logging/GodotLoggerFactory.cs +++ b/GFramework.Godot/Logging/GodotLoggerFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot/Logging/GodotLoggerFactoryProvider.cs b/GFramework.Godot/Logging/GodotLoggerFactoryProvider.cs index 5dfb48fa..4ad23634 100644 --- a/GFramework.Godot/Logging/GodotLoggerFactoryProvider.cs +++ b/GFramework.Godot/Logging/GodotLoggerFactoryProvider.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Concurrent; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot/Logging/GodotLoggerMode.cs b/GFramework.Godot/Logging/GodotLoggerMode.cs index 8bde69fa..d7398274 100644 --- a/GFramework.Godot/Logging/GodotLoggerMode.cs +++ b/GFramework.Godot/Logging/GodotLoggerMode.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Logging; /// diff --git a/GFramework.Godot/Logging/GodotLoggerOptions.cs b/GFramework.Godot/Logging/GodotLoggerOptions.cs index 25be0962..ef0a0e58 100644 --- a/GFramework.Godot/Logging/GodotLoggerOptions.cs +++ b/GFramework.Godot/Logging/GodotLoggerOptions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot/Logging/GodotLoggerSettings.cs b/GFramework.Godot/Logging/GodotLoggerSettings.cs index e95962fe..3a2f45b8 100644 --- a/GFramework.Godot/Logging/GodotLoggerSettings.cs +++ b/GFramework.Godot/Logging/GodotLoggerSettings.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using GFramework.Core.Abstractions.Logging; diff --git a/GFramework.Godot/Logging/GodotLoggerSettingsLoader.cs b/GFramework.Godot/Logging/GodotLoggerSettingsLoader.cs index d460ba84..e0c41693 100644 --- a/GFramework.Godot/Logging/GodotLoggerSettingsLoader.cs +++ b/GFramework.Godot/Logging/GodotLoggerSettingsLoader.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.IO; diff --git a/GFramework.Godot/Pause/GodotPauseHandler.cs b/GFramework.Godot/Pause/GodotPauseHandler.cs index bcf21b96..d77b50d6 100644 --- a/GFramework.Godot/Pause/GodotPauseHandler.cs +++ b/GFramework.Godot/Pause/GodotPauseHandler.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Pause; using Godot; diff --git a/GFramework.Godot/Pool/AbstractNodePoolSystem.cs b/GFramework.Godot/Pool/AbstractNodePoolSystem.cs index 389deeec..38d2db68 100644 --- a/GFramework.Godot/Pool/AbstractNodePoolSystem.cs +++ b/GFramework.Godot/Pool/AbstractNodePoolSystem.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Pool; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Pool; using Godot; namespace GFramework.Godot.Pool; diff --git a/GFramework.Godot/Pool/IPoolableNode.cs b/GFramework.Godot/Pool/IPoolableNode.cs index 75439e30..3f633094 100644 --- a/GFramework.Godot/Pool/IPoolableNode.cs +++ b/GFramework.Godot/Pool/IPoolableNode.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Pool; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Pool; using Godot; namespace GFramework.Godot.Pool; diff --git a/GFramework.Godot/Properties/AssemblyInfo.cs b/GFramework.Godot/Properties/AssemblyInfo.cs index 2159042b..6212179a 100644 --- a/GFramework.Godot/Properties/AssemblyInfo.cs +++ b/GFramework.Godot/Properties/AssemblyInfo.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Runtime.CompilerServices; [assembly: InternalsVisibleTo("GFramework.Godot.Tests")] diff --git a/GFramework.Godot/Scene/GodotSceneRegistry.cs b/GFramework.Godot/Scene/GodotSceneRegistry.cs index 1e9dd8e2..fb2fb4d4 100644 --- a/GFramework.Godot/Scene/GodotSceneRegistry.cs +++ b/GFramework.Godot/Scene/GodotSceneRegistry.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Registries; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Registries; using Godot; namespace GFramework.Godot.Scene; diff --git a/GFramework.Godot/Scene/IGodotSceneRegistry.cs b/GFramework.Godot/Scene/IGodotSceneRegistry.cs index 36b65593..55271252 100644 --- a/GFramework.Godot/Scene/IGodotSceneRegistry.cs +++ b/GFramework.Godot/Scene/IGodotSceneRegistry.cs @@ -1,4 +1,7 @@ -using GFramework.Game.Abstractions.Asset; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Game.Abstractions.Asset; using Godot; namespace GFramework.Godot.Scene; diff --git a/GFramework.Godot/Setting/Data/AudioBusMap.cs b/GFramework.Godot/Setting/Data/AudioBusMap.cs index 069099fc..9b2dec57 100644 --- a/GFramework.Godot/Setting/Data/AudioBusMap.cs +++ b/GFramework.Godot/Setting/Data/AudioBusMap.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Setting.Data; /// diff --git a/GFramework.Godot/Setting/GodotAudioSettings.cs b/GFramework.Godot/Setting/GodotAudioSettings.cs index 7d7d1d7d..ce4fabbc 100644 --- a/GFramework.Godot/Setting/GodotAudioSettings.cs +++ b/GFramework.Godot/Setting/GodotAudioSettings.cs @@ -1,4 +1,7 @@ -using GFramework.Game.Abstractions.Setting; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Game.Abstractions.Setting; using GFramework.Game.Abstractions.Setting.Data; using GFramework.Godot.Setting.Data; using Godot; diff --git a/GFramework.Godot/Setting/GodotGraphicsSettings.cs b/GFramework.Godot/Setting/GodotGraphicsSettings.cs index 6f0a3459..5e4de393 100644 --- a/GFramework.Godot/Setting/GodotGraphicsSettings.cs +++ b/GFramework.Godot/Setting/GodotGraphicsSettings.cs @@ -1,4 +1,7 @@ -using GFramework.Game.Abstractions.Setting; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Game.Abstractions.Setting; using GFramework.Game.Abstractions.Setting.Data; using Godot; diff --git a/GFramework.Godot/Storage/GodotFileStorage.cs b/GFramework.Godot/Storage/GodotFileStorage.cs index a835f64a..12928253 100644 --- a/GFramework.Godot/Storage/GodotFileStorage.cs +++ b/GFramework.Godot/Storage/GodotFileStorage.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using System.Text; using GFramework.Core.Abstractions.Concurrency; diff --git a/GFramework.Godot/Text/DefaultRichTextEffectRegistry.cs b/GFramework.Godot/Text/DefaultRichTextEffectRegistry.cs index e4fd4780..1b32a849 100644 --- a/GFramework.Godot/Text/DefaultRichTextEffectRegistry.cs +++ b/GFramework.Godot/Text/DefaultRichTextEffectRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Godot.Text.Effects; namespace GFramework.Godot.Text; diff --git a/GFramework.Godot/Text/Effects/RichTextBlueEffect.cs b/GFramework.Godot/Text/Effects/RichTextBlueEffect.cs index c7319616..d0ade4ca 100644 --- a/GFramework.Godot/Text/Effects/RichTextBlueEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextBlueEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextEffectBase.cs b/GFramework.Godot/Text/Effects/RichTextEffectBase.cs index 55b89560..24284c2f 100644 --- a/GFramework.Godot/Text/Effects/RichTextEffectBase.cs +++ b/GFramework.Godot/Text/Effects/RichTextEffectBase.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextFadeInEffect.cs b/GFramework.Godot/Text/Effects/RichTextFadeInEffect.cs index 3af25719..0a47b50d 100644 --- a/GFramework.Godot/Text/Effects/RichTextFadeInEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextFadeInEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextFlyInEffect.cs b/GFramework.Godot/Text/Effects/RichTextFlyInEffect.cs index efb6f893..3e6a472c 100644 --- a/GFramework.Godot/Text/Effects/RichTextFlyInEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextFlyInEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextGoldEffect.cs b/GFramework.Godot/Text/Effects/RichTextGoldEffect.cs index 68ee952d..5502adc9 100644 --- a/GFramework.Godot/Text/Effects/RichTextGoldEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextGoldEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextGreenEffect.cs b/GFramework.Godot/Text/Effects/RichTextGreenEffect.cs index f4f3db0e..5df1034e 100644 --- a/GFramework.Godot/Text/Effects/RichTextGreenEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextGreenEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextJitterEffect.cs b/GFramework.Godot/Text/Effects/RichTextJitterEffect.cs index 1c8a8c76..407b315a 100644 --- a/GFramework.Godot/Text/Effects/RichTextJitterEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextJitterEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextRedEffect.cs b/GFramework.Godot/Text/Effects/RichTextRedEffect.cs index af4afa4e..5f531eaa 100644 --- a/GFramework.Godot/Text/Effects/RichTextRedEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextRedEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/Effects/RichTextSineEffect.cs b/GFramework.Godot/Text/Effects/RichTextSineEffect.cs index 10530bf9..156ac50b 100644 --- a/GFramework.Godot/Text/Effects/RichTextSineEffect.cs +++ b/GFramework.Godot/Text/Effects/RichTextSineEffect.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text.Effects; /// diff --git a/GFramework.Godot/Text/GfRichTextLabel.cs b/GFramework.Godot/Text/GfRichTextLabel.cs index 3ee2d828..505406ad 100644 --- a/GFramework.Godot/Text/GfRichTextLabel.cs +++ b/GFramework.Godot/Text/GfRichTextLabel.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/Text/IRichTextEffectHost.cs b/GFramework.Godot/Text/IRichTextEffectHost.cs index b01ebe3f..112357d0 100644 --- a/GFramework.Godot/Text/IRichTextEffectHost.cs +++ b/GFramework.Godot/Text/IRichTextEffectHost.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/Text/IRichTextEffectRegistry.cs b/GFramework.Godot/Text/IRichTextEffectRegistry.cs index d43c0838..c8fa7089 100644 --- a/GFramework.Godot/Text/IRichTextEffectRegistry.cs +++ b/GFramework.Godot/Text/IRichTextEffectRegistry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/Text/RichTextEffectEntry.cs b/GFramework.Godot/Text/RichTextEffectEntry.cs index 63e30d3d..a1b1bd3a 100644 --- a/GFramework.Godot/Text/RichTextEffectEntry.cs +++ b/GFramework.Godot/Text/RichTextEffectEntry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/Text/RichTextEffectPlan.cs b/GFramework.Godot/Text/RichTextEffectPlan.cs index cd6be232..6c8d7fb3 100644 --- a/GFramework.Godot/Text/RichTextEffectPlan.cs +++ b/GFramework.Godot/Text/RichTextEffectPlan.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/Text/RichTextEffectPlanEntry.cs b/GFramework.Godot/Text/RichTextEffectPlanEntry.cs index f5b11b5d..416b1cd3 100644 --- a/GFramework.Godot/Text/RichTextEffectPlanEntry.cs +++ b/GFramework.Godot/Text/RichTextEffectPlanEntry.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/Text/RichTextEffectsController.cs b/GFramework.Godot/Text/RichTextEffectsController.cs index 29074953..cd8d850d 100644 --- a/GFramework.Godot/Text/RichTextEffectsController.cs +++ b/GFramework.Godot/Text/RichTextEffectsController.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/Text/RichTextMarkup.cs b/GFramework.Godot/Text/RichTextMarkup.cs index 685e8408..1dc38fe2 100644 --- a/GFramework.Godot/Text/RichTextMarkup.cs +++ b/GFramework.Godot/Text/RichTextMarkup.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.Globalization; using System.Text; diff --git a/GFramework.Godot/Text/RichTextProfile.cs b/GFramework.Godot/Text/RichTextProfile.cs index 9759787e..3e5dcf4d 100644 --- a/GFramework.Godot/Text/RichTextProfile.cs +++ b/GFramework.Godot/Text/RichTextProfile.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + namespace GFramework.Godot.Text; /// diff --git a/GFramework.Godot/UI/GodotUiFactory.cs b/GFramework.Godot/UI/GodotUiFactory.cs index 7f23ca7a..0792db12 100644 --- a/GFramework.Godot/UI/GodotUiFactory.cs +++ b/GFramework.Godot/UI/GodotUiFactory.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.Abstractions.Logging; using GFramework.Core.Extensions; using GFramework.Core.Logging; diff --git a/GFramework.Godot/UI/GodotUiRegistry.cs b/GFramework.Godot/UI/GodotUiRegistry.cs index 26d55bfd..3ac6004c 100644 --- a/GFramework.Godot/UI/GodotUiRegistry.cs +++ b/GFramework.Godot/UI/GodotUiRegistry.cs @@ -1,4 +1,7 @@ -using GFramework.Core.Abstractions.Registries; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Core.Abstractions.Registries; using Godot; namespace GFramework.Godot.UI; diff --git a/GFramework.Godot/UI/IGodotUiRegistry.cs b/GFramework.Godot/UI/IGodotUiRegistry.cs index ff08bb1a..b6478ce8 100644 --- a/GFramework.Godot/UI/IGodotUiRegistry.cs +++ b/GFramework.Godot/UI/IGodotUiRegistry.cs @@ -1,4 +1,7 @@ -using GFramework.Game.Abstractions.Asset; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.Game.Abstractions.Asset; using Godot; namespace GFramework.Godot.UI; diff --git a/GFramework.SourceGenerators.Common/Constants/PathContests.cs b/GFramework.SourceGenerators.Common/Constants/PathContests.cs index cae0748c..2ff3ee48 100644 --- a/GFramework.SourceGenerators.Common/Constants/PathContests.cs +++ b/GFramework.SourceGenerators.Common/Constants/PathContests.cs @@ -1,4 +1,7 @@ -namespace GFramework.SourceGenerators.Common.Constants; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.SourceGenerators.Common.Constants; /// /// 定义GFramework项目中使用的路径常量 diff --git a/GFramework.SourceGenerators.Common/Diagnostics/CommonDiagnostics.cs b/GFramework.SourceGenerators.Common/Diagnostics/CommonDiagnostics.cs index c48b40ef..23c63503 100644 --- a/GFramework.SourceGenerators.Common/Diagnostics/CommonDiagnostics.cs +++ b/GFramework.SourceGenerators.Common/Diagnostics/CommonDiagnostics.cs @@ -1,4 +1,7 @@ -namespace GFramework.SourceGenerators.Common.Diagnostics; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +namespace GFramework.SourceGenerators.Common.Diagnostics; /// /// 提供通用诊断描述符的静态类 diff --git a/GFramework.SourceGenerators.Common/Directory.Build.props b/GFramework.SourceGenerators.Common/Directory.Build.props index 5ad03b43..3fe9f61e 100644 --- a/GFramework.SourceGenerators.Common/Directory.Build.props +++ b/GFramework.SourceGenerators.Common/Directory.Build.props @@ -1,3 +1,8 @@ + + diff --git a/GFramework.SourceGenerators.Common/Extensions/AttributeDataExtensions.cs b/GFramework.SourceGenerators.Common/Extensions/AttributeDataExtensions.cs index a8e8438a..204d2467 100644 --- a/GFramework.SourceGenerators.Common/Extensions/AttributeDataExtensions.cs +++ b/GFramework.SourceGenerators.Common/Extensions/AttributeDataExtensions.cs @@ -1,4 +1,7 @@ -using Microsoft.CodeAnalysis; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using Microsoft.CodeAnalysis; namespace GFramework.SourceGenerators.Common.Extensions; diff --git a/GFramework.SourceGenerators.Common/Extensions/GeneratedMethodConflictExtensions.cs b/GFramework.SourceGenerators.Common/Extensions/GeneratedMethodConflictExtensions.cs index bdd1ad9b..9f4fdddb 100644 --- a/GFramework.SourceGenerators.Common/Extensions/GeneratedMethodConflictExtensions.cs +++ b/GFramework.SourceGenerators.Common/Extensions/GeneratedMethodConflictExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.SourceGenerators.Common.Diagnostics; namespace GFramework.SourceGenerators.Common.Extensions; diff --git a/GFramework.SourceGenerators.Common/Extensions/INamedTypeSymbolExtensions.cs b/GFramework.SourceGenerators.Common/Extensions/INamedTypeSymbolExtensions.cs index f9379814..be75d810 100644 --- a/GFramework.SourceGenerators.Common/Extensions/INamedTypeSymbolExtensions.cs +++ b/GFramework.SourceGenerators.Common/Extensions/INamedTypeSymbolExtensions.cs @@ -1,4 +1,7 @@ -using GFramework.SourceGenerators.Common.Info; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using GFramework.SourceGenerators.Common.Info; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; diff --git a/GFramework.SourceGenerators.Common/Extensions/ITypeSymbolExtensions.cs b/GFramework.SourceGenerators.Common/Extensions/ITypeSymbolExtensions.cs index 23061177..c43eb2ca 100644 --- a/GFramework.SourceGenerators.Common/Extensions/ITypeSymbolExtensions.cs +++ b/GFramework.SourceGenerators.Common/Extensions/ITypeSymbolExtensions.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using Microsoft.CodeAnalysis; namespace GFramework.SourceGenerators.Common.Extensions; diff --git a/GFramework.SourceGenerators.Common/GFramework.SourceGenerators.Common.csproj b/GFramework.SourceGenerators.Common/GFramework.SourceGenerators.Common.csproj index 6cdde7c2..5d4c7773 100644 --- a/GFramework.SourceGenerators.Common/GFramework.SourceGenerators.Common.csproj +++ b/GFramework.SourceGenerators.Common/GFramework.SourceGenerators.Common.csproj @@ -1,4 +1,9 @@ - + + + + + net10.0 diff --git a/GFramework.SourceGenerators.Tests/Logging/LoggerGeneratorSnapshotTests.cs b/GFramework.SourceGenerators.Tests/Logging/LoggerGeneratorSnapshotTests.cs index 5555b2c9..47eea0e5 100644 --- a/GFramework.SourceGenerators.Tests/Logging/LoggerGeneratorSnapshotTests.cs +++ b/GFramework.SourceGenerators.Tests/Logging/LoggerGeneratorSnapshotTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System.IO; using GFramework.Core.SourceGenerators.Logging; using GFramework.SourceGenerators.Tests.Core; diff --git a/GFramework.SourceGenerators.Tests/Rule/ContextAwareGeneratorSnapshotTests.cs b/GFramework.SourceGenerators.Tests/Rule/ContextAwareGeneratorSnapshotTests.cs index cf347b7c..626232ec 100644 --- a/GFramework.SourceGenerators.Tests/Rule/ContextAwareGeneratorSnapshotTests.cs +++ b/GFramework.SourceGenerators.Tests/Rule/ContextAwareGeneratorSnapshotTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +using System; using System.IO; using System.Linq; using GFramework.Core.SourceGenerators.Rule; diff --git a/GFramework.SourceGenerators.Tests/Rule/ContextGetGeneratorTests.cs b/GFramework.SourceGenerators.Tests/Rule/ContextGetGeneratorTests.cs index 1d015e12..86af16c3 100644 --- a/GFramework.SourceGenerators.Tests/Rule/ContextGetGeneratorTests.cs +++ b/GFramework.SourceGenerators.Tests/Rule/ContextGetGeneratorTests.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using GFramework.Core.SourceGenerators.Rule; using GFramework.SourceGenerators.Tests.Core; diff --git a/GFramework.Tests.Common/CqrsTestRuntime.cs b/GFramework.Tests.Common/CqrsTestRuntime.cs index adcb83ea..10c4d64c 100644 --- a/GFramework.Tests.Common/CqrsTestRuntime.cs +++ b/GFramework.Tests.Common/CqrsTestRuntime.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + using System; using System.Collections.Generic; using System.Reflection; diff --git a/GFramework.Tests.Common/GFramework.Tests.Common.csproj b/GFramework.Tests.Common/GFramework.Tests.Common.csproj index ddd8c02c..f3598c95 100644 --- a/GFramework.Tests.Common/GFramework.Tests.Common.csproj +++ b/GFramework.Tests.Common/GFramework.Tests.Common.csproj @@ -1,3 +1,8 @@ + + diff --git a/GFramework.csproj b/GFramework.csproj index d4ba523d..296cd4bf 100644 --- a/GFramework.csproj +++ b/GFramework.csproj @@ -1,3 +1,8 @@ + + diff --git a/Godot/script_templates/Node/ControllerTemplate.cs b/Godot/script_templates/Node/ControllerTemplate.cs index ff4875a8..d1d99485 100644 --- a/Godot/script_templates/Node/ControllerTemplate.cs +++ b/Godot/script_templates/Node/ControllerTemplate.cs @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + // meta-name: 控制器类模板 // meta-description: 负责管理场景的生命周期和架构关联 using Godot; diff --git a/Godot/script_templates/Node/PageControllerTemplate.cs b/Godot/script_templates/Node/PageControllerTemplate.cs index d30623c1..f3827a9d 100644 --- a/Godot/script_templates/Node/PageControllerTemplate.cs +++ b/Godot/script_templates/Node/PageControllerTemplate.cs @@ -1,4 +1,7 @@ -// meta-name: UI页面控制器类模板 +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + +// meta-name: UI页面控制器类模板 // meta-description: 负责管理UI页面场景的生命周期和架构关联 using Godot; using GFramework.Core.Abstractions.Controller; diff --git a/README.md b/README.md index 5b2ea3ec..879c5c9d 100644 --- a/README.md +++ b/README.md @@ -161,4 +161,5 @@ GFramework.sln ## 许可证 -本仓库当前采用 [Apache License 2.0](LICENSE)。 +本仓库当前采用 [Apache License 2.0](LICENSE)。贡献源码或配置文件时,请遵循 +[贡献指南中的许可证文件头要求](docs/zh-CN/contributing.md#许可证文件头)。 diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts index 68dde8ed..482f0c52 100644 --- a/docs/.vitepress/theme/index.ts +++ b/docs/.vitepress/theme/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + // https://vitepress.dev/guide/custom-theme import { h } from 'vue' import type { Theme } from 'vitepress' diff --git a/docs/zh-CN/contributing.md b/docs/zh-CN/contributing.md index 186e2aa8..62ae24dd 100644 --- a/docs/zh-CN/contributing.md +++ b/docs/zh-CN/contributing.md @@ -105,6 +105,32 @@ GFramework 是一个开源的游戏开发框架,我们欢迎所有形式的贡 - **测试覆盖**:为新功能添加测试 - **文档更新**:更新相关文档 +#### 许可证文件头 + +仓库采用 Apache License 2.0。新增或修改仓库维护的源码和配置文件时,请保留或补齐文件头声明。CI 会检查 +C#、JavaScript、TypeScript、Python、Shell、YAML 与 MSBuild 项目文件中的 Apache-2.0 声明。 + +本地检查: + +```bash +python3 scripts/license-header.py --check +``` + +本地自动修复: + +```bash +python3 scripts/license-header.py --fix +``` + +如只想预览会修改哪些文件,可运行: + +```bash +python3 scripts/license-header.py --fix --dry-run +``` + +维护者也可以在 GitHub Actions 中手动运行 `License Header Fix` workflow。该流程会基于目标分支创建 +`chore/license-headers-` 分支,自动补齐缺失文件头,并提交一个待审查的 Pull Request。 + ### 改进文档 文档改进同样重要: diff --git a/refactor-scripts/finish-remaining.sh b/refactor-scripts/finish-remaining.sh index 1d756a63..7f593a6c 100644 --- a/refactor-scripts/finish-remaining.sh +++ b/refactor-scripts/finish-remaining.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + set -e ROOT_DIR="/mnt/f/gewuyou/System/Documents/WorkSpace/GameDev/GFramework" diff --git a/refactor-scripts/refactor-namespaces.sh b/refactor-scripts/refactor-namespaces.sh index 522e7ac9..ae2a79e3 100644 --- a/refactor-scripts/refactor-namespaces.sh +++ b/refactor-scripts/refactor-namespaces.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # # GFramework 命名空间重构脚本 - 将所有文件夹和命名空间从小写改为 PascalCase # diff --git a/refactor-scripts/rename-all-remaining.sh b/refactor-scripts/rename-all-remaining.sh index 0749cd11..044f93f7 100644 --- a/refactor-scripts/rename-all-remaining.sh +++ b/refactor-scripts/rename-all-remaining.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # 重命名所有剩余项目的文件夹 set -e diff --git a/refactor-scripts/rename-core.sh b/refactor-scripts/rename-core.sh index 4279dc4b..ccae37b4 100644 --- a/refactor-scripts/rename-core.sh +++ b/refactor-scripts/rename-core.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # 重命名 GFramework.Core 文件夹 set -e diff --git a/refactor-scripts/rename-folders-simple.sh b/refactor-scripts/rename-folders-simple.sh index dbc6a623..e0f1939a 100644 --- a/refactor-scripts/rename-folders-simple.sh +++ b/refactor-scripts/rename-folders-simple.sh @@ -1,4 +1,7 @@ #!/bin/bash +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # 简化版文件夹重命名脚本 - 一次处理一个项目 set -e diff --git a/refactor-scripts/update-namespaces.py b/refactor-scripts/update-namespaces.py index c836d35d..d393075d 100644 --- a/refactor-scripts/update-namespaces.py +++ b/refactor-scripts/update-namespaces.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + """ 更新所有 C# 文件中的命名空间声明和 using 语句 """ diff --git a/scripts/collect-dev-environment.sh b/scripts/collect-dev-environment.sh index 8a76f2b3..e8bb9b76 100644 --- a/scripts/collect-dev-environment.sh +++ b/scripts/collect-dev-environment.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail diff --git a/scripts/generate-ai-environment.py b/scripts/generate-ai-environment.py index 0ecbdb4a..8d9990be 100644 --- a/scripts/generate-ai-environment.py +++ b/scripts/generate-ai-environment.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + from __future__ import annotations diff --git a/scripts/license-header.py b/scripts/license-header.py new file mode 100644 index 00000000..5b060be5 --- /dev/null +++ b/scripts/license-header.py @@ -0,0 +1,18 @@ +#!/usr/bin/env python3 +"""Command entry point for repository license header checks.""" + +from __future__ import annotations + +import sys +from pathlib import Path + + +SCRIPT_DIR = Path(__file__).resolve().parent +if str(SCRIPT_DIR) not in sys.path: + sys.path.insert(0, str(SCRIPT_DIR)) + +from license_header import main + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/scripts/license_header.py b/scripts/license_header.py new file mode 100644 index 00000000..23197429 --- /dev/null +++ b/scripts/license_header.py @@ -0,0 +1,279 @@ +#!/usr/bin/env python3 +"""Check and apply repository license headers.""" + +from __future__ import annotations + +import argparse +import os +import subprocess +import sys +from dataclasses import dataclass +from pathlib import Path +from typing import Iterable + + +COPYRIGHT_LINE = "Copyright (c) 2025-2026 GeWuYou" +SPDX_LINE = "SPDX-License-Identifier: Apache-2.0" + +LINE_COMMENT_EXTENSIONS = { + ".cs": "//", + ".js": "//", + ".ts": "//", + ".py": "#", + ".sh": "#", + ".yml": "#", + ".yaml": "#", +} + +XML_COMMENT_EXTENSIONS = {".csproj", ".props", ".targets"} + +SUPPORTED_EXTENSIONS = set(LINE_COMMENT_EXTENSIONS) | XML_COMMENT_EXTENSIONS + +EXCLUDED_PREFIXES = ( + ".agents/", + "ai-libs/", + "third-party-licenses/", + "bin/", + "obj/", + "node_modules/", + "packages/", + "TestResults/", + "megalinter-reports/", +) + +EXCLUDED_EXACT_PATHS = { + ".ai/environment/tools.ai.yaml", + ".ai/environment/tools.raw.yaml", +} + +EXCLUDED_FILE_NAMES = { + "LICENSE", + "LICENSE.md", +} + +HEADER_MARKERS = ( + SPDX_LINE, + "Licensed under the Apache License", +) + + +@dataclass(frozen=True) +class HeaderResult: + """Describes the license header status for a repository-tracked file.""" + + path: Path + relative_path: str + has_header: bool + needs_repair: bool = False + + +def main(argv: list[str] | None = None) -> int: + parser = argparse.ArgumentParser(description="Check or apply Apache-2.0 source file headers.") + mode = parser.add_mutually_exclusive_group(required=True) + mode.add_argument("--check", action="store_true", help="Fail when supported files are missing a license header.") + mode.add_argument("--fix", action="store_true", help="Write missing license headers to supported files.") + parser.add_argument("--dry-run", action="store_true", help="List files that would be changed without writing them.") + parser.add_argument( + "--root", + type=Path, + default=Path.cwd(), + help="Repository root. Defaults to the current working directory.", + ) + parser.add_argument( + "--paths", + nargs="*", + help="Optional repository-relative file list. Intended for tests and targeted local checks.", + ) + + args = parser.parse_args(argv) + root = args.root.resolve() + relative_paths = args.paths if args.paths is not None else list_tracked_files(root) + results = list(scan_files(root, relative_paths)) + missing = [result for result in results if not result.has_header] + repairs = [result for result in results if result.needs_repair] + updates = missing + repairs + + if not updates: + print("All supported files include an Apache-2.0 license header.") + return 0 + + if args.check or args.dry_run: + if missing: + print_missing(missing, "Missing Apache-2.0 license header:") + if repairs: + print_missing(repairs, "License header needs repair:") + + if args.check: + return 1 + + if args.dry_run: + return 0 + + for result in missing: + add_license_header(result.path) + + for result in repairs: + repair_license_header(result.path) + + if missing: + print_missing(missing, "Added Apache-2.0 license header:") + if repairs: + print_missing(repairs, "Repaired Apache-2.0 license header:") + return 0 + + +def list_tracked_files(root: Path) -> list[str]: + """Returns repository-tracked paths so generated build output is not scanned.""" + + command = ["git", "ls-files"] + completed = subprocess.run(command, cwd=root, check=True, capture_output=True, text=True) + return completed.stdout.splitlines() + + +def scan_files(root: Path, relative_paths: Iterable[str]) -> Iterable[HeaderResult]: + for relative_path in relative_paths: + normalized = relative_path.replace(os.sep, "/") + if not is_supported_path(normalized): + continue + + path = root / normalized + if not path.is_file(): + continue + + text, _ = read_text_preserving_bom(path) + yield HeaderResult( + path=path, + relative_path=normalized, + has_header=has_license_header(text), + needs_repair=needs_header_repair(path, text), + ) + + +def is_supported_path(relative_path: str) -> bool: + if relative_path in EXCLUDED_EXACT_PATHS: + return False + + if any(relative_path.startswith(prefix) for prefix in EXCLUDED_PREFIXES): + return False + + if "/snapshots/" in relative_path or relative_path.startswith(".git/"): + return False + + path = Path(relative_path) + if path.name in EXCLUDED_FILE_NAMES: + return False + + return path.suffix in SUPPORTED_EXTENSIONS + + +def has_license_header(text: str) -> bool: + search_window = text[:4096] + return any(marker in search_window for marker in HEADER_MARKERS) + + +def needs_header_repair(path: Path, text: str) -> bool: + if path.suffix not in XML_COMMENT_EXTENSIONS: + return False + + newline = detect_newline(text) + header = build_header(path.suffix, newline) + return text.startswith(header) and text[len(header) :].startswith(" None: + text, had_bom = read_text_preserving_bom(path) + updated = insert_header(path, text) + write_text_preserving_bom(path, updated, had_bom) + + +def repair_license_header(path: Path) -> None: + text, had_bom = read_text_preserving_bom(path) + updated = repair_xml_header_position(path, text) + write_text_preserving_bom(path, updated, had_bom) + + +def insert_header(path: Path, text: str) -> str: + newline = detect_newline(text) + header = build_header(path.suffix, newline) + + if path.suffix in XML_COMMENT_EXTENSIONS and text.startswith(" str: + newline = detect_newline(text) + header = build_header(path.suffix, newline) + if not text.startswith(header): + return text + + remainder = text[len(header) :] + if not remainder.startswith(" int: + first_newline = text.find("\n") + if first_newline == -1: + return len(text) + + return first_newline + len("\n") + + +def build_header(suffix: str, newline: str) -> str: + if suffix in XML_COMMENT_EXTENSIONS: + return ( + f"{newline}" + f"{newline}" + ) + + comment = LINE_COMMENT_EXTENSIONS[suffix] + return ( + f"{comment} {COPYRIGHT_LINE}{newline}" + f"{comment} {SPDX_LINE}{newline}" + f"{newline}" + ) + + +def detect_newline(text: str) -> str: + return "\r\n" if "\r\n" in text[:4096] else "\n" + + +def read_text_preserving_bom(path: Path) -> tuple[str, bool]: + content = path.read_bytes() + had_bom = content.startswith(b"\xef\xbb\xbf") + if had_bom: + content = content[3:] + return content.decode("utf-8"), had_bom + + +def write_text_preserving_bom(path: Path, text: str, had_bom: bool) -> None: + content = text.encode("utf-8") + if had_bom: + content = b"\xef\xbb\xbf" + content + path.write_bytes(content) + + +def print_missing(results: Iterable[HeaderResult], heading: str) -> None: + print(heading) + for result in results: + print(f" {result.relative_path}") + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/scripts/test_license_header.py b/scripts/test_license_header.py new file mode 100644 index 00000000..d32bad48 --- /dev/null +++ b/scripts/test_license_header.py @@ -0,0 +1,128 @@ +#!/usr/bin/env python3 +"""Unit tests for Apache-2.0 license header automation.""" + +from __future__ import annotations + +import tempfile +import sys +import unittest +from pathlib import Path + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +import license_header + + +class LicenseHeaderTests(unittest.TestCase): + """Covers file format and exclusion behavior for the license header script.""" + + def test_inserts_csharp_header(self) -> None: + with tempfile.TemporaryDirectory() as temp_dir: + path = Path(temp_dir) / "Sample.cs" + path.write_text("namespace Demo;\n", encoding="utf-8") + + license_header.add_license_header(path) + + text = path.read_text(encoding="utf-8") + self.assertTrue(text.startswith("// Copyright (c) 2025-2026 GeWuYou\n")) + self.assertIn("// SPDX-License-Identifier: Apache-2.0\n\nnamespace Demo;", text) + + def test_existing_apache_header_is_compliant(self) -> None: + text = ( + "// Copyright (c) 2026 GeWuYou\n" + "// Licensed under the Apache License, Version 2.0 (the \"License\");\n" + "namespace Demo;\n" + ) + + self.assertTrue(license_header.has_license_header(text)) + + def test_inserts_after_shebang(self) -> None: + with tempfile.TemporaryDirectory() as temp_dir: + path = Path(temp_dir) / "tool.py" + path.write_text("#!/usr/bin/env python3\nprint('ok')\n", encoding="utf-8") + + license_header.add_license_header(path) + + self.assertEqual( + "#!/usr/bin/env python3\n" + "# Copyright (c) 2025-2026 GeWuYou\n" + "# SPDX-License-Identifier: Apache-2.0\n" + "\n" + "print('ok')\n", + path.read_text(encoding="utf-8"), + ) + + def test_uses_xml_comment_for_msbuild_files(self) -> None: + with tempfile.TemporaryDirectory() as temp_dir: + path = Path(temp_dir) / "Directory.Build.props" + path.write_text("\n\n", encoding="utf-8") + + license_header.add_license_header(path) + + self.assertEqual( + "\n" + "\n" + "\n" + "\n", + path.read_text(encoding="utf-8"), + ) + + def test_inserts_xml_header_after_declaration(self) -> None: + with tempfile.TemporaryDirectory() as temp_dir: + path = Path(temp_dir) / "Package.targets" + path.write_text("\n\n", encoding="utf-8") + + license_header.add_license_header(path) + + self.assertEqual( + "\n" + "\n" + "\n" + "\n", + path.read_text(encoding="utf-8"), + ) + + def test_repairs_xml_header_before_declaration(self) -> None: + with tempfile.TemporaryDirectory() as temp_dir: + path = Path(temp_dir) / "Package.targets" + path.write_text( + "\n" + "\n" + "\n" + "\n", + encoding="utf-8", + ) + + self.assertTrue(license_header.needs_header_repair(path, path.read_text(encoding="utf-8"))) + license_header.repair_license_header(path) + + self.assertEqual( + "\n" + "\n" + "\n" + "\n", + path.read_text(encoding="utf-8"), + ) + + def test_excludes_generated_snapshots_and_third_party_paths(self) -> None: + self.assertFalse(license_header.is_supported_path("ai-libs/project/file.cs")) + self.assertFalse(license_header.is_supported_path(".agents/skills/_shared/module-config.sh")) + self.assertFalse(license_header.is_supported_path("third-party-licenses/package/LICENSE")) + self.assertFalse(license_header.is_supported_path("GFramework.Tests/snapshots/Generated.g.cs")) + self.assertFalse(license_header.is_supported_path(".ai/environment/tools.ai.yaml")) + self.assertTrue(license_header.is_supported_path("GFramework.Core/Result.cs")) + + +if __name__ == "__main__": + unittest.main() diff --git a/scripts/validate-csharp-naming.sh b/scripts/validate-csharp-naming.sh index b6b95130..3de0633b 100644 --- a/scripts/validate-csharp-naming.sh +++ b/scripts/validate-csharp-naming.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + set -euo pipefail if ! command -v git >/dev/null 2>&1; then diff --git a/tools/gframework-config-tool/src/configPath.js b/tools/gframework-config-tool/src/configPath.js index b85651e2..85e426ba 100644 --- a/tools/gframework-config-tool/src/configPath.js +++ b/tools/gframework-config-tool/src/configPath.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + /** * Join one object property onto a logical config path. * diff --git a/tools/gframework-config-tool/src/configValidation.js b/tools/gframework-config-tool/src/configValidation.js index 07bbc671..72d87004 100644 --- a/tools/gframework-config-tool/src/configValidation.js +++ b/tools/gframework-config-tool/src/configValidation.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const { joinArrayIndexPath, joinArrayTemplatePath, diff --git a/tools/gframework-config-tool/src/containsSummary.js b/tools/gframework-config-tool/src/containsSummary.js index 63a1771f..651b83c1 100644 --- a/tools/gframework-config-tool/src/containsSummary.js +++ b/tools/gframework-config-tool/src/containsSummary.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + /** * Build a compact contains-schema summary for array field hints. * The summary reuses existing localized hint strings so Chinese UI surfaces diff --git a/tools/gframework-config-tool/src/extension.js b/tools/gframework-config-tool/src/extension.js index ce18e071..1083f656 100644 --- a/tools/gframework-config-tool/src/extension.js +++ b/tools/gframework-config-tool/src/extension.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const fs = require("fs"); const path = require("path"); let vscode; diff --git a/tools/gframework-config-tool/src/localization.js b/tools/gframework-config-tool/src/localization.js index 605504cc..177439c4 100644 --- a/tools/gframework-config-tool/src/localization.js +++ b/tools/gframework-config-tool/src/localization.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const {ValidationMessageKeys} = require("./localizationKeys"); /** diff --git a/tools/gframework-config-tool/src/localizationKeys.js b/tools/gframework-config-tool/src/localizationKeys.js index a4c8ab5c..14aa06fd 100644 --- a/tools/gframework-config-tool/src/localizationKeys.js +++ b/tools/gframework-config-tool/src/localizationKeys.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const ValidationMessageKeys = Object.freeze({ allOfViolation: "validation.allOfViolation", constMismatch: "validation.constMismatch", diff --git a/tools/gframework-config-tool/test/configValidation.enum.test.js b/tools/gframework-config-tool/test/configValidation.enum.test.js index 6569d588..ae87d3cd 100644 --- a/tools/gframework-config-tool/test/configValidation.enum.test.js +++ b/tools/gframework-config-tool/test/configValidation.enum.test.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const test = require("node:test"); const assert = require("node:assert/strict"); const { diff --git a/tools/gframework-config-tool/test/configValidation.test.js b/tools/gframework-config-tool/test/configValidation.test.js index b31b6adc..2c913825 100644 --- a/tools/gframework-config-tool/test/configValidation.test.js +++ b/tools/gframework-config-tool/test/configValidation.test.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const test = require("node:test"); const assert = require("node:assert/strict"); const {__test: extensionTest} = require("../src/extension"); diff --git a/tools/gframework-config-tool/test/containsSummary.test.js b/tools/gframework-config-tool/test/containsSummary.test.js index b053b091..c3a31b31 100644 --- a/tools/gframework-config-tool/test/containsSummary.test.js +++ b/tools/gframework-config-tool/test/containsSummary.test.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const test = require("node:test"); const assert = require("node:assert/strict"); const {buildContainsHintLines, describeContainsSchema} = require("../src/containsSummary"); diff --git a/tools/gframework-config-tool/test/localization.test.js b/tools/gframework-config-tool/test/localization.test.js index 9493f7af..1ad3a892 100644 --- a/tools/gframework-config-tool/test/localization.test.js +++ b/tools/gframework-config-tool/test/localization.test.js @@ -1,3 +1,6 @@ +// Copyright (c) 2025-2026 GeWuYou +// SPDX-License-Identifier: Apache-2.0 + const test = require("node:test"); const assert = require("node:assert/strict"); const {createLocalizer} = require("../src/localization"); From 4153ea59b858287fb2ae83be8a8d3ae9dd70a185 Mon Sep 17 00:00:00 2001 From: gewuyou <95328647+GeWuYou@users.noreply.github.com> Date: Sun, 3 May 2026 21:00:03 +0800 Subject: [PATCH 2/2] =?UTF-8?q?docs(agents):=20=E8=A1=A5=E5=85=85=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E5=A4=B4=E6=B2=BB=E7=90=86=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 补充 AGENTS.md 中的许可证文件头规则 - 修复新增治理文件自身缺失的文件头 --- .github/workflows/license-header-fix.yml | 3 +++ AGENTS.md | 17 +++++++++++++++++ scripts/license-header.py | 3 +++ 3 files changed, 23 insertions(+) diff --git a/.github/workflows/license-header-fix.yml b/.github/workflows/license-header-fix.yml index ac94cb4f..cc7d510a 100644 --- a/.github/workflows/license-header-fix.yml +++ b/.github/workflows/license-header-fix.yml @@ -1,3 +1,6 @@ +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + # 维护者手动触发的 Apache-2.0 文件头修复流程。 name: License Header Fix diff --git a/AGENTS.md b/AGENTS.md index 06610a00..630282bd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -79,6 +79,23 @@ All AI agents and contributors must follow these rules when writing, reviewing, - The branch naming rule for a new task branch is `/`, where `` should match the intended Conventional Commit category as closely as practical. +## License Header Rules + +- Repository-maintained source and configuration files that are supported by `scripts/license-header.py` MUST include an + Apache-2.0 file header before the task is considered complete. +- When creating or modifying supported files, contributors MUST preserve an existing compliant header or add the SPDX + header generated by `python3 scripts/license-header.py --fix`. +- Before committing changes that add or modify supported source/configuration files, contributors MUST run + `python3 scripts/license-header.py --check` and resolve any missing or misplaced headers. +- For files with shebang lines, keep the shebang as the first line and place the license header immediately after it. +- For XML/MSBuild files with an XML declaration, keep the XML declaration as the first node and place the license header + immediately after it. +- Do not add project license headers to excluded or third-party areas such as `.agents/**`, `ai-libs/**`, + `third-party-licenses/**`, generated snapshots, binary assets, lock files, and generated build output. Treat + `scripts/license-header.py` as the authoritative include/exclude policy for this check. +- If CI reports a license-header failure, either fix it locally with `python3 scripts/license-header.py --fix` or, for + maintainer-owned cleanup, use the manual `License Header Fix` GitHub Actions workflow to create a reviewed repair PR. + ## Repository Boot Skill - The repository-maintained Codex boot skill lives at `.codex/skills/gframework-boot/`. diff --git a/scripts/license-header.py b/scripts/license-header.py index 5b060be5..d4374859 100644 --- a/scripts/license-header.py +++ b/scripts/license-header.py @@ -1,4 +1,7 @@ #!/usr/bin/env python3 +# Copyright (c) 2025-2026 GeWuYou +# SPDX-License-Identifier: Apache-2.0 + """Command entry point for repository license header checks.""" from __future__ import annotations