Show / Hide Table of Contents

Class ObservableCollection<T>

Observable collection that also fix support to clear all. Don't know if ObservableCollection<T> is allocation free.

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

Constructors

ObservableCollection()

Declaration
public ObservableCollection()

Fields

FireEvents

Declaration
public bool FireEvents
Field Value
Type Description
System.Boolean

Methods

ClearItems()

Clears the items.

Declaration
protected override void ClearItems()

FindIndex(Predicate<T>)

Declaration
public int FindIndex(Predicate<T> match)
Parameters
Type Name Description
System.Predicate<T> match
Returns
Type Description
System.Int32

GetEnumerator()

Gets allocation free enumerator (returns struct)

Declaration
public ObservableCollection<T>.Enumerator GetEnumerator()
Returns
Type Description
ObservableCollection.Enumerator<>
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾