T_RailwaySharp_ErrorHandling_Ok_2 - adutton/commandline GitHub Wiki
Represents the result of a successful computation.
System.Object
RailwaySharp.ErrorHandling.Result(TSuccess, TMessage)
RailwaySharp.ErrorHandling.Ok(TSuccess, TMessage)
Namespace: RailwaySharp.ErrorHandling
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
internal sealed class Ok<TSuccess, TMessage> : Result<TSuccess, TMessage>VB
Friend NotInheritable Class Ok(Of TSuccess, TMessage)
Inherits Result(Of TSuccess, TMessage)C++
generic<typename TSuccess, typename TMessage>
internal ref class Ok sealed : public Result<TSuccess, TMessage>F#
[<SealedAttribute>]
type Ok<'TSuccess, 'TMessage> =
class
inherit Result<'TSuccess, 'TMessage>
end
- TSuccess
- Type that models the result of a successful computation.
- TMessage
- Type that model a message related to a computation.
| Name | Description | |
|---|---|---|
![]() |
Ok(TSuccess, TMessage) | Initializes a new instance of the Ok(TSuccess, TMessage) class |
| Name | Description | |
|---|---|---|
![]() |
Messages | |
![]() |
Success | |
![]() |
Tag | (Inherited from Result(TSuccess, TMessage).) |
| 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 | (Inherited from Result(TSuccess, TMessage).) |
| Name | Description | |
|---|---|---|
![]() |
IsEmpty | (Defined by UnParserExtensions.) |
![]() |
NormalizeValue | (Defined by UnParserExtensions.) |



