Table of Contents

Class ForbiddenResult<T>

Namespace
SEBT.Portal.Kernel.Results
Assembly
SEBT.Portal.Kernel.dll
public class ForbiddenResult<T> : Result<T>

Type Parameters

T
Inheritance
object
ForbiddenResult<T>
Inherited Members

Constructors

ForbiddenResult(string, IDictionary<string, object?>?)

public ForbiddenResult(string message, IDictionary<string, object?>? extensions = null)

Parameters

message string
extensions IDictionary<string, object>

Properties

Extensions

Additional structured data describing why access was denied. The API layer determines how to serialize this (e.g., as ProblemDetails extensions).

public IDictionary<string, object?> Extensions { get; }

Property Value

IDictionary<string, object>

Message

public override string Message { get; }

Property Value

string

Methods

Map()

public override Result Map()

Returns

Result