FeatureAttribute
Members
Namespace: ASPSecurityKit.ServiceStack
Assembly: ASPSecurityKit.ServiceStack.dll
Summary
Attribute to indicate one or more RequestFeature values for the associated request.
Constructors
#ctor(applyTo,features)
Summary
Initializes a new instance of the FeatureAttribute class.
Parameters
| Name | Type | Description |
|---|---|---|
| applyTo | ServiceStack.ApplyTo | Determines to which http method call it applies. |
| features | ASPSecurityKit.RequestFeature[] | The request features. |
Exceptions
| Type | Description |
|---|---|
| System.ArgumentNullException | When features array is null or empty. |
| System.ArgumentException | When features array contains a feature that’s only allowed via its specialized attribute. |
Remarks
Following features aren’t allowed as these require more information: Disabled.
Properties
Features
Summary
Gets the request features.
Value
The request features.