using System;
using System.Collections.Generic;
namespace Abp.Application.Services.Dto
{
///
/// Implements .
///
/// Type of the items in the list
[Serializable]
public class ListResultDto : IListResult
{
///
/// List of items.
///
public IReadOnlyList Items
{
get { return _items ?? (_items = new List()); }
set { _items = value; }
}
private IReadOnlyList _items;
///
/// Creates a new object.
///
public ListResultDto()
{
}
///
/// Creates a new object.
///
/// List of items
public ListResultDto(IReadOnlyList items)
{
Items = items;
}
}
}