You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
namespace DS.Module.Core.Modules;
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IDSAppModule: IApplicationInitialization
|
|
|
|
|
{
|
|
|
|
|
void ConfigureServices(ConfigureServicesContext context);
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <typeparam name="TOptions"></typeparam>
|
|
|
|
|
/// <param name="configureOptions">配置选项</param>
|
|
|
|
|
void Configure<TOptions>(Action<TOptions> configureOptions) where TOptions : class;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 服务依赖集合
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="moduleType"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
Type[] GetDependedTypes(Type moduleType = null);
|
|
|
|
|
bool Enable { get; set; }
|
|
|
|
|
}
|