using System.Collections; using System.Collections.Generic; namespace AspClassic.Scripting; public interface IAttributesCollection : IEnumerable>, IEnumerable { object this[SymbolId name] { get; set; } IDictionary SymbolAttributes { get; } int Count { get; } ICollection Keys { get; } void Add(SymbolId name, object value); bool TryGetValue(SymbolId name, out object value); bool Remove(SymbolId name); bool ContainsKey(SymbolId name); void AddObjectKey(object name, object value); bool TryGetObjectValue(object name, out object value); bool RemoveObjectKey(object name); bool ContainsObjectKey(object name); IDictionary AsObjectKeyedDictionary(); }