Show / Hide Table of Contents

Class MapCollection<T>

Collection of LinearMap or BilinearMap objects that can be attached to a session

Inheritance
System.Object
SynchronizedList<T>
PersistableCollection<T>
MapCollection<T>
Implements
System.Collections.IList
System.Collections.ICollection
IPersistableCollection<T>
System.Collections.Generic.IList<T>
System.Collections.Generic.ICollection<T>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
Inherited Members
PersistableCollection<T>.Clear()
PersistableCollection<T>.Add(IEnumerable<T>)
PersistableCollection<T>.Overwrite(T, Predicate<T>)
PersistableCollection<T>.RemoveAll(Predicate<T>)
PersistableCollection<T>.AddNoRepository(T)
PersistableCollection<T>.ClearItems()
PersistableCollection<T>.InitialAddItems(IEnumerable<T>)
PersistableCollection<T>.RemoveItem(Int32)
PersistableCollection<T>.RemoveNoRepository(T)
PersistableCollection<T>.SetItem(Int32, T)
PersistableCollection<T>.ItemAdded
PersistableCollection<T>.ItemRemoved
SynchronizedList<T>.Add(T)
SynchronizedList<T>.CopyTo(T[], Int32)
SynchronizedList<T>.IndexOf(T)
SynchronizedList<T>.Contains(T)
SynchronizedList<T>.GetEnumerator()
SynchronizedList<T>.Clone()
SynchronizedList<T>.Remove(T)
SynchronizedList<T>.Insert(Int32, T)
SynchronizedList<T>.Add(Object)
SynchronizedList<T>.Contains(Object)
SynchronizedList<T>.IndexOf(Object)
SynchronizedList<T>.Insert(Int32, Object)
SynchronizedList<T>.Remove(Object)
SynchronizedList<T>.AddBase(Object)
SynchronizedList<T>.CopyTo(Array, Int32)
SynchronizedList<T>.CopyToBase(Array, Int32)
SynchronizedList<T>.Items
SynchronizedList<T>.Item[Int32]
SynchronizedList<T>.Count
SynchronizedList<T>.IsSynchronized
SynchronizedList<T>.IsFixedSize
SynchronizedList<T>.SyncRoot
Namespace: MESL.SqlRace.Domain.Collections
Assembly: MESL.SqlRace.Domain.dll
Syntax
public class MapCollection<T> : PersistableCollection<T>, IList, ICollection, IPersistableCollectionInternal<T>, IPersistableCollection<T>, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : MapBase
Type Parameters
Name Description
T

Type of map

Methods

ClearAllDataPoints()

Clears all data points in all maps to save memory.

Declaration
public void ClearAllDataPoints()

InsertItem(Int32, T)

Inserts the item.

Declaration
protected override void InsertItem(int index, T newItem)
Parameters
Type Name Description
System.Int32 index

The index.

T newItem

The new item.

Overrides
MESL.SqlRace.Domain.Collections.PersistableCollection<T>.InsertItem(System.Int32, T)

PopulateAllDataPoints()

Populates all data points for each map in the collection.

Declaration
public void PopulateAllDataPoints()
Remarks

If there are a large amount of Maps/Map data points then populating all maps can consume a largest amount of memory.

PopulateDataPoints(T)

Populates the data points for specific map.

Declaration
public void PopulateDataPoints(T map)
Parameters
Type Name Description
T map

The map item.

PublishAddedEvent(T)

Publishes the added event.

Declaration
protected override void PublishAddedEvent(T item)
Parameters
Type Name Description
T item

The item that was added.

Overrides
MESL.SqlRace.Domain.Collections.PersistableCollection<T>.PublishAddedEvent(T)

PublishRemovedEvent(T)

Publishes the removed event.

Declaration
protected override void PublishRemovedEvent(T item)
Parameters
Type Name Description
T item

The item that was removed.

Overrides
MESL.SqlRace.Domain.Collections.PersistableCollection<T>.PublishRemovedEvent(T)

Implements

System.Collections.IList
System.Collections.ICollection
IPersistableCollection<T>
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable
Back to top Generated by DocFX