Xamarin Public Jenkins (auto-signing) e79aa3c0ed Imported Upstream version 4.6.0.125
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
2016-08-03 10:59:49 +00:00

53 lines
1.4 KiB
C#

//---------------------------------------------------------------------
// <copyright file="ISchemaElementLookUpTable.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner jeffreed
// @backupOwner anpete
//---------------------------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Specialized;
namespace System.Data.EntityModel.SchemaObjectModel
{
/// <summary>
/// Summary description for ISchemaElementLookUpTable.
/// </summary>
internal interface ISchemaElementLookUpTable<T>
where T : SchemaElement
{
/// <summary>
///
/// </summary>
int Count { get; }
/// <summary>
///
/// </summary>
/// <param name="key"></param>
/// <returns></returns>
bool ContainsKey(string key);
/// <summary>
///
/// </summary>
T this[string key] { get; }
/// <summary>
///
/// </summary>
/// <returns></returns>
IEnumerator<T> GetEnumerator();
/// <summary>
/// Look up a name case insensitively
/// </summary>
/// <param name="key">the key to look up</param>
/// <returns>the element or null</returns>
T LookUpEquivalentKey(string key);
}
}