mirror of
https://github.com/GeWuYou/GFramework.git
synced 2026-03-22 10:34:30 +08:00
refactor(repository): 更新仓储接口继承实用工具接口
- 添加 GFramework.Core.Abstractions.utility 命名空间引用 - 修改 IRepository 接口继承 IUtility 接口 - 为仓储接口添加实用工具功能支持
This commit is contained in:
parent
f8a1c99b99
commit
6a99b54d6e
@ -11,6 +11,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
using GFramework.Core.Abstractions.utility;
|
||||
|
||||
namespace GFramework.Game.Abstractions.data;
|
||||
|
||||
/// <summary>
|
||||
@ -18,7 +20,7 @@ namespace GFramework.Game.Abstractions.data;
|
||||
/// </summary>
|
||||
/// <typeparam name="TKey">键的类型</typeparam>
|
||||
/// <typeparam name="TValue">值的类型</typeparam>
|
||||
public interface IRepository<in TKey, TValue>
|
||||
public interface IRepository<in TKey, TValue> : IUtility
|
||||
{
|
||||
/// <summary>
|
||||
/// 添加键值对到仓储中
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user