using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Yi.Framework.Infrastructure.Ddd.Dtos.Abstract; namespace Yi.Framework.Infrastructure.Ddd.Dtos { [Serializable] public class ListResultDto : IListResult { public IReadOnlyList Items { get { return _items ?? (_items = new List()); } set { _items = value; } } private IReadOnlyList _items; public ListResultDto() { } public ListResultDto(IReadOnlyList items) { Items = items; } } }