Class ReferenceList<T>
Inheritance
ReferenceList<T>
Assembly: GGL.dll
Syntax
[Serializable]
public sealed class ReferenceList<T> : ObservableCollection<Reference<T>> where T : Data
Type Parameters
Name |
Description |
T |
Data type
|
Constructors
|
Edit this page
View Source
ReferenceList()
Declaration
|
Edit this page
View Source
ReferenceList(params ulong[])
Declaration
public ReferenceList(params ulong[] ids)
Parameters
Type |
Name |
Description |
ulong[] |
ids |
List of . |
|
Edit this page
View Source
ReferenceList(params T[])
Declaration
public ReferenceList(params T[] items)
Parameters
Type |
Name |
Description |
T[] |
items |
List of . |
Properties
|
Edit this page
View Source
Values
Declaration
[JsonIgnore]
public List<T> Values { get; }
Property Value
Type |
Description |
List<T> |
Access the cached list of datas.
|
Methods
|
Edit this page
View Source
Remove(ulong)
Remove the first item corresponding to ID
Declaration
public void Remove(ulong id)
Parameters
Type |
Name |
Description |
ulong |
id |
|
|
Edit this page
View Source
Sort(IComparer<Reference<T>>)
Declaration
public void Sort(IComparer<Reference<T>> comparer)
Parameters
Operators
|
Edit this page
View Source
implicit operator List<T>(ReferenceList<T>)
Declaration
public static implicit operator List<T>(ReferenceList<T> current)
Parameters
Returns
Type |
Description |
List<T> |
List of . |
|
Edit this page
View Source
implicit operator T[](ReferenceList<T>)
Declaration
public static implicit operator T[](ReferenceList<T> current)
Parameters
Returns
Type |
Description |
T[] |
List of . |
Extension Methods