14 lines
425 B
C#
14 lines
425 B
C#
using System.Collections;
|
|
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 {
|
|
void Add(TKey key, TValue value);
|
|
void Insert(int index, TKey key, TValue value);
|
|
}
|
|
}
|