Struct Http403Forbidden
Returns HTTP 403 - forbidden This should be used in place of returning exceptions where needed as it is faster
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NFX.Wave.MVC
Assembly: NFX.Wave.dll
Syntax
public struct Http403Forbidden : IActionResult
Constructors
Http403Forbidden(String)
Declaration
public Http403Forbidden(string descr = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | descr |
Fields
Description
Declaration
public readonly string Description
Field Value
Type | Description |
---|---|
System.String |
Methods
Execute(Controller, WorkContext)
Declaration
public void Execute(Controller controller, WorkContext work)
Parameters
Type | Name | Description |
---|---|---|
Controller | controller | |
WorkContext | work |