ValueOrError.ValueOrError Constructor

Namespace:
Weavy.Core.Cron
Assembly:
Weavy.Core.dll

Overloads

ValueOrError(Exception) Initializes the object with an error.
ValueOrError(ExceptionProvider) Initializes the object with a handler that will provide the error result when needed.
ValueOrError(T) Initializes the object with a defined value.

ValueOrError(Exception)

Initializes the object with an error.

public ValueOrError(Exception error)

Parameters

error
System.Exception

ValueOrError(ExceptionProvider)

Initializes the object with a handler that will provide the error result when needed.

public ValueOrError(ExceptionProvider provider)

Parameters

provider
Weavy.Core.Cron.ExceptionProvider

ValueOrError(T)

Initializes the object with a defined value.

public ValueOrError(T value)

Parameters

value