Move up non-generic collection types and add debug view.

This commit is contained in:
2023-03-09 11:37:23 +08:00
parent 26a8675922
commit 505b826627
10 changed files with 163 additions and 34 deletions

View File

@@ -1,12 +1,7 @@
using System.Collections;
using System.Collections.Generic;
using System.Collections.Generic;
namespace Cryville.Common.Collections.Generic {
public interface IPairList : IList {
void Add(object key, object value);
void Insert(int index, object key, object value);
}
public interface IPairList<TKey, TValue> : IList<KeyValuePair<TKey, TValue>>, IPairList {
public interface IPairList<TKey, TValue> : IList<KeyValuePair<TKey, TValue>> {
void Add(TKey key, TValue value);
void Insert(int index, TKey key, TValue value);
}