FeatureBarrierAttribute constructor (1 of 2)
namespace: Serenity.Web assembly: Serenity.Net.Web
Creates an attribute that can be used to barrier actions or pages. The barrier can be configured to require all or any of the provided feature(s) to pass.
public FeatureBarrierAttribute(params object[] features)
| parameter | description |
|---|---|
| features | A set of enums representing the features that the attribute will represent. |
See Also
- class FeatureBarrierAttribute
FeatureBarrierAttribute constructor (2 of 2)
namespace: Serenity.Web assembly: Serenity.Net.Web
Creates an attribute that can be used to barrier actions or pages. The barrier can be configured to require all or any of the provided feature(s) to pass.
public FeatureBarrierAttribute(params string[] features)
| parameter | description |
|---|---|
| features | The names of the features that the attribute will represent. |
See Also
- class FeatureBarrierAttribute