2020-05-13 14:06:11 +02:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
2020-05-14 13:32:33 +02:00
|
|
|
using System.Collections.ObjectModel;
|
|
|
|
|
using System.Linq;
|
2020-05-13 14:06:11 +02:00
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace zero.Core.Options
|
|
|
|
|
{
|
|
|
|
|
public abstract class ZeroBackofficeCollection<T>
|
|
|
|
|
{
|
2020-05-14 13:32:33 +02:00
|
|
|
protected List<T> Items { get; set; } = new List<T>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public IReadOnlyCollection<T> GetAllItems()
|
|
|
|
|
{
|
|
|
|
|
return Items.AsReadOnly();
|
|
|
|
|
}
|
2020-05-13 14:06:11 +02:00
|
|
|
}
|
|
|
|
|
}
|