All pastes #796782 Raw Edit

Anonymous

public text v1 · immutable
#796782 ·published 2007-11-25 12:05 UTC
rendered paste body
using 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 { }
}