mirror of https://github.com/abpframework/abp.git
3 changed files with 47 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||
|
using System; |
||||
|
using Volo.Abp.ObjectExtending.Modularity; |
||||
|
|
||||
|
namespace Volo.Abp.ObjectExtending |
||||
|
{ |
||||
|
public class TenantManagementModuleExtensionConfiguration : ModuleExtensionConfiguration |
||||
|
{ |
||||
|
public TenantManagementModuleExtensionConfiguration ConfigureTenant( |
||||
|
Action<EntityExtensionConfiguration> configureAction) |
||||
|
{ |
||||
|
return this.ConfigureEntity( |
||||
|
TenantManagementModuleExtensionConsts.EntityNames.Tenant, |
||||
|
configureAction |
||||
|
); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,18 @@ |
|||||
|
using System; |
||||
|
using Volo.Abp.ObjectExtending.Modularity; |
||||
|
|
||||
|
namespace Volo.Abp.ObjectExtending |
||||
|
{ |
||||
|
public static class TenantManagementModuleExtensionConfigurationDictionaryExtensions |
||||
|
{ |
||||
|
public static ModuleExtensionConfigurationDictionary ConfigureTenantManagement( |
||||
|
this ModuleExtensionConfigurationDictionary modules, |
||||
|
Action<TenantManagementModuleExtensionConfiguration> configureAction) |
||||
|
{ |
||||
|
return modules.ConfigureModule( |
||||
|
TenantManagementModuleExtensionConsts.ModuleName, |
||||
|
configureAction |
||||
|
); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -0,0 +1,12 @@ |
|||||
|
namespace Volo.Abp.ObjectExtending |
||||
|
{ |
||||
|
public class TenantManagementModuleExtensionConsts |
||||
|
{ |
||||
|
public const string ModuleName = "TenantManagement"; |
||||
|
|
||||
|
public static class EntityNames |
||||
|
{ |
||||
|
public const string Tenant = "Tenant"; |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue