This commit is contained in:
Jelle Luteijn 2022-05-15 11:19:49 +02:00
parent 16e76d6b31
commit 484dbfc9d9
529 changed files with 113694 additions and 0 deletions

View file

@ -0,0 +1,33 @@
using System.Collections;
using System.Collections.Generic;
namespace AspClassic.Scripting;
public interface IAttributesCollection : IEnumerable<KeyValuePair<object, object>>, IEnumerable
{
object this[SymbolId name] { get; set; }
IDictionary<SymbolId, object> SymbolAttributes { get; }
int Count { get; }
ICollection<object> 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<object, object> AsObjectKeyedDictionary();
}