Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
IReadOnlySet.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System.Collections.Generic;
4 
5 namespace SiliconStudio.Core.Collections
6 {
7  /// <summary>
8  /// Represents a strongly-typed, read-only set of element.
9  /// </summary>
10  /// <typeparam name="T">The type of the elements.</typeparam>
11  public interface IReadOnlySet<T> : IReadOnlyCollection<T>
12  {
13  /// <summary>
14  /// Determines whether the set [contains] [the specified item].
15  /// </summary>
16  /// <param name="item">The item.</param>
17  /// <returns>
18  /// <c>true</c> if the set [contains] [the specified item]; otherwise, <c>false</c>.
19  /// </returns>
20  bool Contains(T item);
21  }
22 }