You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
abp/framework/test/Volo.Abp.GlobalFeatures.Tests/Volo/Abp/GlobalFeatures/TestFeature.cs

28 lines
713 B

namespace Volo.Abp.GlobalFeatures
{
[GlobalFeatureName(Name)]
public class TestFeature : Abp.GlobalFeatures.GlobalFeature
{
public const string Name = "TestFeature1";
internal TestFeature(TestGlobalModuleFeatures testGlobalModule)
: base(testGlobalModule)
{
}
}
public class TestGlobalModuleFeatures : GlobalModuleFeatures
{
public const string ModuleName = "GlobalFeatureTest";
public TestFeature Test => GetFeature<TestFeature>();
public TestGlobalModuleFeatures(GlobalFeatureManager featureManager)
: base(featureManager)
{
AddFeature(new TestFeature(this));
}
}
}