Fantasy
搜索结果

    显示/隐藏目录

    OneToManyHashSetPool<TKey, TValue> 类

    一对多哈希集合(OneToManyHashSet)对象池。

    继承
    object
    Dictionary<TKey, HashSet<TValue>>
    OneToManyHashSet<TKey, TValue>
    OneToManyHashSetPool<TKey, TValue>
    实现
    IDictionary<TKey, HashSet<TValue>>
    ICollection<KeyValuePair<TKey, HashSet<TValue>>>
    IReadOnlyDictionary<TKey, HashSet<TValue>>
    IReadOnlyCollection<KeyValuePair<TKey, HashSet<TValue>>>
    IEnumerable<KeyValuePair<TKey, HashSet<TValue>>>
    IDictionary
    ICollection
    IEnumerable
    IDeserializationCallback
    ISerializable
    IDisposable
    IPool
    继承成员
    OneToManyHashSet<TKey, TValue>.Contains(TKey, TValue)
    OneToManyHashSet<TKey, TValue>.Add(TKey, TValue)
    OneToManyHashSet<TKey, TValue>.RemoveValue(TKey, TValue)
    OneToManyHashSet<TKey, TValue>.RemoveKey(TKey)
    OneToManyHashSet<TKey, TValue>.GetValue(TKey)
    OneToManyHashSet<TKey, TValue>.Clear()
    Dictionary<TKey, HashSet<TValue>>.Add(TKey, HashSet<TValue>)
    Dictionary<TKey, HashSet<TValue>>.Clear()
    Dictionary<TKey, HashSet<TValue>>.ContainsKey(TKey)
    Dictionary<TKey, HashSet<TValue>>.ContainsValue(HashSet<TValue>)
    Dictionary<TKey, HashSet<TValue>>.EnsureCapacity(int)
    Dictionary<TKey, HashSet<TValue>>.GetEnumerator()
    Dictionary<TKey, HashSet<TValue>>.GetObjectData(SerializationInfo, StreamingContext)
    Dictionary<TKey, HashSet<TValue>>.OnDeserialization(object)
    Dictionary<TKey, HashSet<TValue>>.Remove(TKey)
    Dictionary<TKey, HashSet<TValue>>.Remove(TKey, out HashSet<TValue>)
    Dictionary<TKey, HashSet<TValue>>.TrimExcess()
    Dictionary<TKey, HashSet<TValue>>.TrimExcess(int)
    Dictionary<TKey, HashSet<TValue>>.TryAdd(TKey, HashSet<TValue>)
    Dictionary<TKey, HashSet<TValue>>.TryGetValue(TKey, out HashSet<TValue>)
    Dictionary<TKey, HashSet<TValue>>.Comparer
    Dictionary<TKey, HashSet<TValue>>.Count
    Dictionary<TKey, HashSet<TValue>>.this[TKey]
    Dictionary<TKey, HashSet<TValue>>.Keys
    Dictionary<TKey, HashSet<TValue>>.Values
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    命名空间: Fantasy.DataStructure.Collection
    程序集: Fantasy.Net.dll
    语法
    public class OneToManyHashSetPool<TKey, TValue> : OneToManyHashSet<TKey, TValue>, IDictionary<TKey, HashSet<TValue>>, ICollection<KeyValuePair<TKey, HashSet<TValue>>>, IReadOnlyDictionary<TKey, HashSet<TValue>>, IReadOnlyCollection<KeyValuePair<TKey, HashSet<TValue>>>, IEnumerable<KeyValuePair<TKey, HashSet<TValue>>>, IDictionary, ICollection, IEnumerable, IDeserializationCallback, ISerializable, IDisposable, IPool where TKey : notnull
    类型参数
    名称 描述
    TKey

    键的类型。

    TValue

    值的类型。

    方法

    | 编辑本文 查看源代码

    Create()

    创建一个 OneToManyHashSetPool<TKey, TValue> 一对多哈希集合(OneToManyHashSet)对象池的实例。

    声明
    public static OneToManyHashSetPool<TKey, TValue> Create()
    返回
    类型 描述
    OneToManyHashSetPool<TKey, TValue>

    创建的实例。

    | 编辑本文 查看源代码

    Dispose()

    释放实例所占用的资源,并将实例返回到对象池中,以便重用。

    声明
    public void Dispose()
    | 编辑本文 查看源代码

    IsPool()

    获取一个值,该值指示当前实例是否为对象池中的实例。

    声明
    public bool IsPool()
    返回
    类型 描述
    bool
    | 编辑本文 查看源代码

    SetIsPool(bool)

    设置一个值,该值指示当前实例是否为对象池中的实例。

    声明
    public void SetIsPool(bool isPool)
    参数
    类型 名称 描述
    bool isPool

    实现

    IDictionary<TKey, TValue>
    ICollection<T>
    IReadOnlyDictionary<TKey, TValue>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IDictionary
    ICollection
    IEnumerable
    IDeserializationCallback
    ISerializable
    IDisposable
    IPool

    扩展方法

    JsonHelper.ToJson<T>(T)
    DictionaryExtensions.TryRemove<T, TV>(IDictionary<T, TV>, T, out TV)
    • 编辑本文
    • 查看源代码
    本文内容
    Back to top Generated by DocFX