mirror of https://github.com/abpframework/abp.git
6 changed files with 96 additions and 16 deletions
@ -1,9 +1,10 @@ |
|||||
using Volo.Abp.MultiTenancy; |
using JetBrains.Annotations; |
||||
|
|
||||
namespace Volo.Abp.AspNetCore.MultiTenancy |
namespace Volo.Abp.MultiTenancy |
||||
{ |
{ |
||||
public interface ITenantResolveResultAccessor |
public interface ITenantResolveResultAccessor |
||||
{ |
{ |
||||
|
[CanBeNull] |
||||
TenantResolveResult Result { get; set; } |
TenantResolveResult Result { get; set; } |
||||
} |
} |
||||
} |
} |
||||
@ -0,0 +1,13 @@ |
|||||
|
using Volo.Abp.DependencyInjection; |
||||
|
|
||||
|
namespace Volo.Abp.MultiTenancy |
||||
|
{ |
||||
|
public class NullTenantResolveResultAccessor : ITenantResolveResultAccessor, ISingletonDependency |
||||
|
{ |
||||
|
public TenantResolveResult Result |
||||
|
{ |
||||
|
get => null; |
||||
|
set { } |
||||
|
} |
||||
|
} |
||||
|
} |
||||
@ -1,9 +1,10 @@ |
|||||
using JetBrains.Annotations; |
using System.Threading.Tasks; |
||||
|
using JetBrains.Annotations; |
||||
|
|
||||
namespace Volo.Abp.Ui.Navigation.Urls |
namespace Volo.Abp.Ui.Navigation.Urls |
||||
{ |
{ |
||||
public interface IAppUrlProvider |
public interface IAppUrlProvider |
||||
{ |
{ |
||||
string GetUrl([NotNull] string appName, [CanBeNull] string urlName = null); |
Task<string> GetUrlAsync([NotNull] string appName, [CanBeNull] string urlName = null); |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue