mirror of https://github.com/abpframework/abp.git
14 changed files with 68 additions and 65 deletions
@ -1,9 +1,11 @@ |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.MultiTenancy |
|||
{ |
|||
public interface ITenantResolveContributor |
|||
{ |
|||
string Name { get; } |
|||
|
|||
void Resolve(ITenantResolveContext context); |
|||
Task ResolveAsync(ITenantResolveContext context); |
|||
} |
|||
} |
|||
} |
|||
|
|||
@ -1,10 +1,11 @@ |
|||
using System.Threading.Tasks; |
|||
|
|||
namespace Volo.Abp.MultiTenancy |
|||
{ |
|||
public abstract class TenantResolveContributorBase : ITenantResolveContributor |
|||
{ |
|||
public abstract string Name { get; } |
|||
|
|||
//TODO: We can make this async
|
|||
public abstract void Resolve(ITenantResolveContext context); |
|||
public abstract Task ResolveAsync(ITenantResolveContext context); |
|||
} |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue