DisabledAttribute

Namespace: ASPSecurityKit.ServiceStack
Assembly: ASPSecurityKit.ServiceStack.dll

Summary

Attribute to indicate that the associated request is disabled.

Constructors

#ctor(applyTo)

Summary

Initializes a new instance of the DisabledAttribute class.

Parameters
Name Type Description
applyTo ServiceStack.ApplyTo Determines to which http method call it applies.

#ctor(applyTo,reason)

Summary

Initializes a new instance of the DisabledAttribute class.

Parameters
Name Type Description
applyTo System.String Determines to which http method call it applies.
reason ServiceStack.ApplyTo Reason for disabling the request.

Properties

Reason

Summary

Gets or sets the reason for disabling the request.

Value

The reason for disabling the request.