Class Success

Namespace
REslava.Result
Assembly
REslava.Result.dll
public class Success : Reason<Success>, ISuccess, IReason
Inheritance
Success
Implements
Inherited Members
Extension Methods

Constructors

Success(string)

Creates a success reason with a specific message.

public Success(string message)

Parameters

message string

Description of the successful operation.

Success(string, ImmutableDictionary<string, object>)

protected Success(string message, ImmutableDictionary<string, object> tags)

Parameters

message string
tags ImmutableDictionary<string, object>

Methods

CreateNew(string, ImmutableDictionary<string, object>)

Factory method for creating new instances (maintains immutability). Must be implemented by derived classes.

protected override Success CreateNew(string message, ImmutableDictionary<string, object> tags)

Parameters

message string
tags ImmutableDictionary<string, object>

Returns

Success