Skip to content

M_RailwaySharp_ErrorHandling_Ok_2__ctor

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

Ok(TSuccess, TMessage) Constructor

Initializes a new instance of the Ok(TSuccess, TMessage) class

Namespace: RailwaySharp.ErrorHandling
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public Ok(
	TSuccess success,
	IEnumerable<TMessage> messages
)

VB

Public Sub New ( 
	success As TSuccess,
	messages As IEnumerable(Of TMessage)
)

C++

public:
Ok(
	TSuccess success, 
	IEnumerable<TMessage>^ messages
)

F#

new : 
        success : 'TSuccess * 
        messages : IEnumerable<'TMessage> -> Ok

Parameters

 

success
Type: TSuccess
messages
Type: System.Collections.Generic.IEnumerable(TMessage)

See Also

Reference

Ok(TSuccess, TMessage) Class
RailwaySharp.ErrorHandling Namespace

Clone this wiki locally