Table of Contents

Class ProgramResult

Namespace
Songhay.Models
Assembly
SonghayCore.dll

Defines the general-purpose Result concept of Program completion, avoiding third-party dependencies that are not compatible with F#.

public record ProgramResult : IEquatable<ProgramResult>
Inheritance
ProgramResult
Implements
Derived
Inherited Members
Extension Methods

Remarks

This type (and its possible subtypes) is intended to define the output of Activities (like IActivityTask<TInput, TOutput> or IActivityTaskGroup<TOutput>).

Constructors

ProgramResult(bool, string?)

Defines the general-purpose Result concept of Program completion, avoiding third-party dependencies that are not compatible with F#.

public ProgramResult(bool IsSuccessful, string? Message)

Parameters

IsSuccessful bool

when true the Program completed without exceptions.

Message string

a domain-specific message summarizing the Program completion

Remarks

This type (and its possible subtypes) is intended to define the output of Activities (like IActivityTask<TInput, TOutput> or IActivityTaskGroup<TOutput>).

Properties

IsSuccessful

when true the Program completed without exceptions.

public bool IsSuccessful { get; init; }

Property Value

bool

Message

a domain-specific message summarizing the Program completion

public string? Message { get; init; }

Property Value

string