Interface IModelListResult<TModel>
Interface that represents the concrete class with full results of the model collection.
Inherited Members
Namespace: StoneCo.Framework.Model.ModelRules
Assembly: cs.temp.dll.dll
Syntax
public interface IModelListResult<TModel> : IModelResult where TModel : IModel
Type Parameters
Name | Description |
---|---|
TModel | The type of the model to be returned in the result. |
Properties
Models
Collection model of the type TModel.
Declaration
IEnumerable<TModel> Models { get; }
Property Value
Type | Description |
---|---|
IEnumerable<TModel> | Collection of the model or null. |
Validations
Validation of the properties.
Declaration
IEnumerable<IValidation> Validations { get; }
Property Value
Type | Description |
---|---|
IEnumerable<IValidation> | Validation items if they exist, otherwise, null. |