Show / Hide Table of Contents

Class MyDistributedUpdater<TList, TElement>

Class distributing updates on large amount of objects in configurable intervals.

Inheritance
System.Object
MyDistributedUpdater<TList, TElement>
Namespace: VRage.Collections
Assembly: VRage.Library.dll
Syntax
public class MyDistributedUpdater<TList, TElement> : Object, IEnumerable<TElement>, IEnumerable where TList : IReadOnlyList<TElement>, new()
Type Parameters
Name Description
TList
TElement

Constructors

MyDistributedUpdater(Int32)

Declaration
public MyDistributedUpdater(int updateInterval)
Parameters
Type Name Description
System.Int32 updateInterval

Properties

List

Declaration
public TList List { get; }
Property Value
Type Description
TList

UpdateInterval

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

Methods

GetEnumerator()

Declaration
public MyDistributedUpdater<TList, TElement>.Enumerator GetEnumerator()
Returns
Type Description
MyDistributedUpdater.Enumerator<>

Iterate(Action<TElement>)

Declaration
public void Iterate(Action<TElement> p)
Parameters
Type Name Description
System.Action<TElement> p

Update()

Declaration
public void Update()
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾