Sisk

Method

Router.TryResolveActionResult

Namespace
Sisk.Core.Routing
Assembly
Sisk.Core.dll

TryResolveActionResult(object?, out HttpResponse?) #

Tries to resolve the specified object into an valid HttpResponse using the defined value handlers.

C#
public bool TryResolveActionResult(object? result, out HttpResponse? response)

Parameters #

result object?

The object that will be converted to an valid HttpResponse.

response HttpResponse?

When this method returns, the response object. This parameter is not initialized.

Returns #

bool

When this method returns, the HttpResponse object.

Type to search the documentation and the API reference.