|
|
|
@ -6,18 +6,18 @@ namespace Volo.Abp.AspNetCore.Mvc |
|
|
|
{ |
|
|
|
public class AbpControllerAssemblySetting |
|
|
|
{ |
|
|
|
public string ModuleName { get; } |
|
|
|
|
|
|
|
public Assembly Assembly { get; } |
|
|
|
|
|
|
|
public string ModuleName { get; } |
|
|
|
|
|
|
|
public Func<Type, bool> TypePredicate { get; set; } |
|
|
|
|
|
|
|
public Action<ControllerModel> ControllerModelConfigurer { get; set; } |
|
|
|
|
|
|
|
public AbpControllerAssemblySetting(string moduleName, Assembly assembly) |
|
|
|
public AbpControllerAssemblySetting(Assembly assembly, string moduleName) |
|
|
|
{ |
|
|
|
ModuleName = moduleName; |
|
|
|
Assembly = assembly; |
|
|
|
ModuleName = moduleName; |
|
|
|
|
|
|
|
TypePredicate = type => true; |
|
|
|
ControllerModelConfigurer = controller => { }; |
|
|
|
|