1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System.Threading;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.Design;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
#if NET5_0_OR_GREATER
|
||||
@@ -16,7 +17,6 @@ namespace BITKit.Entities
|
||||
CancellationToken CancellationToken { get; }
|
||||
IServiceProvider ServiceProvider { get; }
|
||||
IServiceCollection ServiceCollection { get; }
|
||||
object[] GetServices();
|
||||
void Inject(object obj);
|
||||
}
|
||||
/// <summary>
|
||||
@@ -35,7 +35,7 @@ namespace BITKit.Entities
|
||||
/// <summary>
|
||||
/// 所有Entity
|
||||
/// </summary>
|
||||
IEntity[] Entities { get; }
|
||||
IReadOnlyDictionary<int,IEntity> Entities { get; }
|
||||
/// <summary>
|
||||
/// 注册Entity
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user