Table of Contents

Method Ok

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Ok()

Creates a new Alternet.Common.Result for successful action.

public static Result Ok()

Returns

Result

New Alternet.Common.Result object.

Ok<T>(T)

Creates a new Alternet.Common.Result for successful action.

public static Result<T> Ok<T>(T value)

Parameters

value T

An object that is result of the executed action.

Returns

Result<T>

New Alternet.Common.Result object.

Type Parameters

T

Type of object related to the action.