We have a lot of services, some that demand some security, some that don't. We want an easy way of telling, in code, if a service will be secure or not.
What would be the better way: Annotation or inheritance?
public class SomeServiceImplementation : BaseSecureService, ISomeService
[SecureService] public class SomeServiceImplementaion : ISomeService