Show / Hide Table of Contents

Interface IModelResult

Interface that represents the concrete class with full results of the models.

Namespace: StoneCo.Framework.Model.ModelRules
Assembly: cs.temp.dll.dll
Syntax
public interface IModelResult

Properties

Message

Validation message.

Declaration
string Message { get; }
Property Value
Type Description
System.String

Sample Error on service layer., Success, ...

ModelStatusCode

Model status code. This code follows the HttpStatusCode pattern.

Declaration
int ModelStatusCode { get; }
Property Value
Type Description
System.Int32

Sample 400, 500, 200, ...

TraceKey

Key of trace.

Declaration
string TraceKey { get; }
Property Value
Type Description
System.String

Sample a4477c7f88264bc1973e55856c8cfbd2

Methods

IsModelResultValid()

Check the result.

Declaration
bool IsModelResultValid()
Returns
Type Description
System.Boolean

True if ModelResult is valid, otherwise, false.

Back to top Generated by DocFX