T_RailwaySharp_ErrorHandling_Result_2 - adutton/commandline GitHub Wiki
Represents the result of a computation.
System.Object
RailwaySharp.ErrorHandling.Result(TSuccess, TMessage)
RailwaySharp.ErrorHandling.Bad(TSuccess, TMessage)
RailwaySharp.ErrorHandling.Ok(TSuccess, TMessage)
Namespace: RailwaySharp.ErrorHandling
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
internal abstract class Result<TSuccess, TMessage>VB
Friend MustInherit Class Result(Of TSuccess, TMessage)C++
generic<typename TSuccess, typename TMessage>
internal ref class Result abstractF#
[<AbstractClassAttribute>]
type Result<'TSuccess, 'TMessage> = class end
- TSuccess
- Type that models the result of a successful computation.
- TMessage
- Type that model a message related to a computation.
| Name | Description | |
|---|---|---|
![]() |
Result(TSuccess, TMessage) | Initializes a new instance of the Result(TSuccess, TMessage) class |
| Name | Description | |
|---|---|---|
![]() |
Tag |
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
ToString | (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
![]() |
IsEmpty | (Defined by UnParserExtensions.) |
![]() |
NormalizeValue | (Defined by UnParserExtensions.) |



