|
|
@ -1,5 +1,5 @@ |
|
|
using System; |
|
|
using System; |
|
|
using System.Collections.Generic; |
|
|
using System.Collections.Generic; |
|
|
using JetBrains.Annotations; |
|
|
using JetBrains.Annotations; |
|
|
|
|
|
|
|
|
namespace Volo.Abp.GlobalFeatures |
|
|
namespace Volo.Abp.GlobalFeatures |
|
|
@ -26,7 +26,6 @@ namespace Volo.Abp.GlobalFeatures |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public virtual bool IsEnabled<TFeature>() |
|
|
public virtual bool IsEnabled<TFeature>() |
|
|
where TFeature : GlobalFeature |
|
|
|
|
|
{ |
|
|
{ |
|
|
return IsEnabled(GlobalFeatureNameAttribute.GetName<TFeature>()); |
|
|
return IsEnabled(GlobalFeatureNameAttribute.GetName<TFeature>()); |
|
|
} |
|
|
} |
|
|
|