Show / Hide Table of Contents

Class CachingHashSet<T>

Inheritance
System.Object
CachingHashSet<T>
Namespace: VRage.Collections
Assembly: VRage.Library.dll
Syntax
public class CachingHashSet<T> : Object, IEnumerable<T>, IEnumerable
Type Parameters
Name Description
T

Constructors

CachingHashSet()

Declaration
public CachingHashSet()

Properties

Count

Declaration
public int Count { get; }
Property Value
Type Description
System.Int32

Methods

Add(T)

Declaration
public bool Add(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Boolean

ApplyAdditions()

Declaration
public void ApplyAdditions()

ApplyChanges()

Declaration
public void ApplyChanges()

ApplyRemovals()

Declaration
public void ApplyRemovals()

Clear()

Declaration
public void Clear()

Contains(T)

Declaration
public bool Contains(T item)
Parameters
Type Name Description
T item
Returns
Type Description
System.Boolean

GetEnumerator()

Declaration
public HashSet<T>.Enumerator GetEnumerator()
Returns
Type Description
System.Collections.Generic.HashSet.Enumerator<>

Remove(T, Boolean)

Declaration
public void Remove(T item, bool immediate = false)
Parameters
Type Name Description
T item
System.Boolean immediate

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾