mirror of https://github.com/abpframework/abp
				
				
				
			
			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.
		
		
		
		
		
			
		
			
				
					
					
						
							27 lines
						
					
					
						
							634 B
						
					
					
				
			
		
		
	
	
							27 lines
						
					
					
						
							634 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));
 | |
|     }
 | |
| }
 |