Class TrackableMARSDataCollection<T>
Inheritance
TrackableMARSDataCollection<T>
Syntax
public class TrackableMARSDataCollection<T>
where T : IMRTrackable
Type Parameters
Properties
collection
Declaration
public ReadOnlyDictionary<MarsTrackableId, KeyValuePair<int, T>> collection { get; }
Property Value
dictionary
Declaration
public Dictionary<MarsTrackableId, KeyValuePair<int, T>> dictionary { get; }
Property Value
Item[MarsTrackableId]
Declaration
public KeyValuePair<int, T> this[MarsTrackableId key] { get; }
Parameters
Property Value
Methods
Add(Int32, T)
Declaration
public void Add(int dataId, T value)
Parameters
Type |
Name |
Description |
Int32 |
dataId |
|
T |
value |
|
AddOrUpdate(T)
Declaration
public int AddOrUpdate(T value)
Parameters
Type |
Name |
Description |
T |
value |
|
Returns
Clear()
Declaration
GetEnumerator()
Declaration
public Dictionary<MarsTrackableId, KeyValuePair<int, T>>.Enumerator GetEnumerator()
Returns
Remove(MarsTrackableId)
Declaration
public void Remove(MarsTrackableId key)
Parameters
SortAscending(Comparison<KeyValuePair<Int32, T>>, List<KeyValuePair<Int32, T>>)
Declaration
public void SortAscending(Comparison<KeyValuePair<int, T>> comparison, List<KeyValuePair<int, T>> sorted)
Parameters
Operators
Implicit(TrackableMARSDataCollection<T> to Dictionary<MarsTrackableId, KeyValuePair<Int32, T>>)
Declaration
public static implicit operator Dictionary<MarsTrackableId, KeyValuePair<int, T>>(TrackableMARSDataCollection<T> collection)
Parameters
Returns