Show / Hide Table of Contents

Interface IModelResult<TModel>

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

Inherited Members
IModelResult.TraceKey
IModelResult.ModelStatusCode
IModelResult.Message
IModelResult.IsModelResultValid()
Namespace: StoneCo.Framework.Model.ModelRules
Assembly: cs.temp.dll.dll
Syntax
public interface IModelResult<TModel> : IModelResult where TModel : IModel
Type Parameters
Name Description
TModel

The type of the model to be returned in the result.

Properties

Model

Object model of the type TModel.

Declaration
TModel Model { get; }
Property Value
Type Description
TModel

Instance of the model or null.

Validations

Validations of the properties.

Declaration
IEnumerable<IValidation> Validations { get; }
Property Value
Type Description
IEnumerable<IValidation>

Validation items if they exist, otherwise, null.

Back to top Generated by DocFX