Table of Contents

Class Result<T>

Namespace
Dynamicweb.Core
Assembly
Dynamicweb.Core.dll
public class Result<T> : Result

Type Parameters

T
Inheritance
Result<T>
Inherited Members

Constructors

Result(T?, bool, string)

protected Result(T? value, bool isSuccess, string error)

Parameters

value T
isSuccess bool
error string

Properties

Value

public T? Value { get; }

Property Value

T

Operators

implicit operator T?(Result<T>)

Implicit operator for getting the type T out of the Result without accessing the Value directly

public static implicit operator T?(Result<T> result)

Parameters

result Result<T>

Returns

T
To top