/// <summary>Determines whether the list contains an element with the specified key.</summary> /// <param name="key">The key to locate in the list.</param> /// <returns>true if the System.Collections.Generic.IDictionary<TKey,TValue> contains an element with the key; otherwise, false.</returns> public bool ContainsKey(string key) { return(Inner.Any(i => i.Name == key)); }