using System.Collections.Generic;
namespace IPLocationServerTool.Model
{
///
/// Represents a collection which is readonly to outside of objects that can be individually accessed by index
///
///
public interface INotificationList : IEnumerable
{
#region Data Members and Events
// Data Members
///
/// Gets the number of elements contained in the
///
int Count { get; }
///
/// Gets the element at the specified index.
///
///
///
T this[int index] { get; }
bool IsEmpty { get; }
#endregion Data Members and Events
#region Operations
///
/// Determines whether the contains a specific value.
///
///
///
bool Contains(T item);
///
/// Searches for the specified object
/// and returns the zero-based index of the first occurrence within the entire .
///
///
///
/// The zero-based index of the first occurrence of item within the entire , if found;
/// otherwise, –1.
int IndexOf(T item);
/////
///// Gets the first element, if list is empty, then default value is returned
/////
//T FirstOrDefault();
/////
///// Gets the last element, if list is empty, then default value is returned
/////
//T LastOrDefault();
#endregion Operations
}
}