Fantasy
搜索结果

    显示/隐藏目录

    HashSetPool<T> 类

    可释放的哈希集合对象池。

    继承
    object
    HashSet<T>
    HashSetPool<T>
    实现
    ISet<T>
    ICollection<T>
    IReadOnlySet<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    IDeserializationCallback
    ISerializable
    IDisposable
    IPool
    继承成员
    HashSet<T>.Add(T)
    HashSet<T>.Clear()
    HashSet<T>.Contains(T)
    HashSet<T>.CopyTo(T[])
    HashSet<T>.CopyTo(T[], int)
    HashSet<T>.CopyTo(T[], int, int)
    HashSet<T>.CreateSetComparer()
    HashSet<T>.EnsureCapacity(int)
    HashSet<T>.ExceptWith(IEnumerable<T>)
    HashSet<T>.GetEnumerator()
    HashSet<T>.GetObjectData(SerializationInfo, StreamingContext)
    HashSet<T>.IntersectWith(IEnumerable<T>)
    HashSet<T>.IsProperSubsetOf(IEnumerable<T>)
    HashSet<T>.IsProperSupersetOf(IEnumerable<T>)
    HashSet<T>.IsSubsetOf(IEnumerable<T>)
    HashSet<T>.IsSupersetOf(IEnumerable<T>)
    HashSet<T>.OnDeserialization(object)
    HashSet<T>.Overlaps(IEnumerable<T>)
    HashSet<T>.Remove(T)
    HashSet<T>.RemoveWhere(Predicate<T>)
    HashSet<T>.SetEquals(IEnumerable<T>)
    HashSet<T>.SymmetricExceptWith(IEnumerable<T>)
    HashSet<T>.TrimExcess()
    HashSet<T>.TryGetValue(T, out T)
    HashSet<T>.UnionWith(IEnumerable<T>)
    HashSet<T>.Comparer
    HashSet<T>.Count
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    命名空间: Fantasy.DataStructure.Collection
    程序集: Fantasy.Net.dll
    语法
    public sealed class HashSetPool<T> : HashSet<T>, ISet<T>, ICollection<T>, IReadOnlySet<T>, IReadOnlyCollection<T>, IEnumerable<T>, IEnumerable, IDeserializationCallback, ISerializable, IDisposable, IPool
    类型参数
    名称 描述
    T

    哈希集合中元素的类型。

    方法

    | 编辑本文 查看源代码

    Create()

    创建一个 HashSetPool<T> 哈希集合池的实例。

    声明
    public static HashSetPool<T> Create()
    返回
    类型 描述
    HashSetPool<T>

    创建的实例。

    | 编辑本文 查看源代码

    Dispose()

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

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

    IsPool()

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

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

    SetIsPool(bool)

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

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

    实现

    ISet<T>
    ICollection<T>
    IReadOnlySet<T>
    IReadOnlyCollection<T>
    IEnumerable<T>
    IEnumerable
    IDeserializationCallback
    ISerializable
    IDisposable
    IPool

    扩展方法

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