Open Source Web Application Framework for ASP.NET Core
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.
 
 
 
 
 
 

23 lines
556 B

using Volo.Abp.DependencyInjection;
namespace Volo.Abp.Features
{
[RequiresFeature("BooleanTestFeature1")]
public class ClassFeatureTestService : ITransientDependency
{
/* Since this class is used with the class reference,
* need to virtual keywords, otherwise dynamic proxy can not work.
*/
[RequiresFeature("BooleanTestFeature2")]
public virtual int Feature2()
{
return 42;
}
public virtual void NoAdditionalFeature()
{
}
}
}