Anonymous
public text v1 · immutableusing System;
using System.Collections;
using System.Collections.Generic;
namespace Service
{
/// <summary>
/// Collection of storages only for reading
/// </summary>
public interface IStoragesCollectionReadOnly : IEnumerable<Storage>, ICollection
{
Storage this[int Index] { get; set; }
}
/// <summary>
/// Collection of storages
/// </summary>
public class StoragesCollection : List<Storage>, IStoragesCollectionReadOnly { }
}