mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 02:24:30 +08:00
- 实现Get(Type type)方法以获取指定类型的单个实例 - 实现GetRequired(Type type)方法以获取指定类型的必需实例 - 实现GetAll(Type type)方法以获取指定类型的所有实例 - 在抽象层添加对应的接口定义 - 为新方法添加完整的XML文档注释 - 添加全局using System.Runtime指令
19 lines
775 B
C#
19 lines
775 B
C#
// Copyright (c) 2025 GeWuYou
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
global using System;
|
|
global using System.Collections.Generic;
|
|
global using System.Runtime;
|
|
global using System.Linq;
|
|
global using System.Threading;
|
|
global using System.Threading.Tasks; |