EvaluationResult(Boolean, String, IReadOnlyList<EvaluationError>) Constructor

Definition

Initializes a new instance of the EvaluationResult class.

public:
 EvaluationResult(bool isSuccess, System::String ^ content, System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Workspace::Evaluator::EvaluationError ^> ^ errors);
public EvaluationResult (bool isSuccess, string content, System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Evaluator.EvaluationError> errors);
new Microsoft.VisualStudio.Workspace.Evaluator.EvaluationResult : bool * string * System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Workspace.Evaluator.EvaluationError> -> Microsoft.VisualStudio.Workspace.Evaluator.EvaluationResult
Public Sub New (isSuccess As Boolean, content As String, errors As IReadOnlyList(Of EvaluationError))

Parameters

isSuccess
Boolean

if success

content
String

Content evaluated

errors
IReadOnlyList<EvaluationError>

Collection of errors found

Applies to