Class SyncList<T>
Implements
IList<T>
IReadOnlyList<T>
Assembly: doc.dll
Syntax
public class SyncList<T> : SyncObject
Type Parameters
Constructors
|
Improve this Doc
View Source
SyncList()
Declaration
|
Improve this Doc
View Source
SyncList(IEqualityComparer<T>)
Declaration
public SyncList(IEqualityComparer<T> comparer)
Parameters
Type |
Name |
Description |
IEqualityComparer<T> |
comparer |
|
|
Improve this Doc
View Source
SyncList(IList<T>, IEqualityComparer<T>)
Declaration
public SyncList(IList<T> objects, IEqualityComparer<T> comparer = null)
Parameters
Type |
Name |
Description |
IList<T> |
objects |
|
IEqualityComparer<T> |
comparer |
|
Properties
|
Improve this Doc
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Improve this Doc
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
|
Improve this Doc
View Source
Item[Int32]
Declaration
public T this[int i] { get; set; }
Parameters
Type |
Name |
Description |
Int32 |
i |
|
Property Value
Methods
|
Improve this Doc
View Source
Add(T)
Declaration
Parameters
Type |
Name |
Description |
T |
item |
|
|
Improve this Doc
View Source
AddRange(IEnumerable<T>)
Declaration
public void AddRange(IEnumerable<T> range)
Parameters
Type |
Name |
Description |
IEnumerable<T> |
range |
|
|
Improve this Doc
View Source
Clear()
Declaration
|
Improve this Doc
View Source
ClearChanges()
Declaration
public override void ClearChanges()
Overrides
|
Improve this Doc
View Source
Contains(T)
Declaration
public bool Contains(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Improve this Doc
View Source
CopyTo(T[], Int32)
Declaration
public void CopyTo(T[] array, int index)
Parameters
Type |
Name |
Description |
T[] |
array |
|
Int32 |
index |
|
|
Improve this Doc
View Source
Find(Predicate<T>)
Declaration
public T Find(Predicate<T> match)
Parameters
Type |
Name |
Description |
Predicate<T> |
match |
|
Returns
|
Improve this Doc
View Source
FindAll(Predicate<T>)
Declaration
public List<T> FindAll(Predicate<T> match)
Parameters
Type |
Name |
Description |
Predicate<T> |
match |
|
Returns
|
Improve this Doc
View Source
FindIndex(Predicate<T>)
Declaration
public int FindIndex(Predicate<T> match)
Parameters
Type |
Name |
Description |
Predicate<T> |
match |
|
Returns
|
Improve this Doc
View Source
GetEnumerator()
Declaration
public SyncList<T>.Enumerator GetEnumerator()
Returns
|
Improve this Doc
View Source
IndexOf(T)
Declaration
public int IndexOf(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Improve this Doc
View Source
Insert(Int32, T)
Declaration
public void Insert(int index, T item)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
T |
item |
|
|
Improve this Doc
View Source
InsertRange(Int32, IEnumerable<T>)
Declaration
public void InsertRange(int index, IEnumerable<T> range)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
IEnumerable<T> |
range |
|
|
Improve this Doc
View Source
OnDeserializeAll(NetworkReader)
Declaration
public override void OnDeserializeAll(NetworkReader reader)
Parameters
Overrides
|
Improve this Doc
View Source
OnDeserializeDelta(NetworkReader)
Declaration
public override void OnDeserializeDelta(NetworkReader reader)
Parameters
Overrides
|
Improve this Doc
View Source
OnSerializeAll(NetworkWriter)
Declaration
public override void OnSerializeAll(NetworkWriter writer)
Parameters
Overrides
|
Improve this Doc
View Source
OnSerializeDelta(NetworkWriter)
Declaration
public override void OnSerializeDelta(NetworkWriter writer)
Parameters
Overrides
|
Improve this Doc
View Source
Remove(T)
Declaration
public bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Improve this Doc
View Source
RemoveAll(Predicate<T>)
Declaration
public int RemoveAll(Predicate<T> match)
Parameters
Type |
Name |
Description |
Predicate<T> |
match |
|
Returns
|
Improve this Doc
View Source
RemoveAt(Int32)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
|
Improve this Doc
View Source
Reset()
Declaration
public override void Reset()
Overrides
Events
|
Improve this Doc
View Source
Callback
Declaration
public event SyncList<T>.SyncListChanged Callback
Event Type
Implements
IList<>
IReadOnlyList<>