Class OrderedSet<T>
Inheritance
OrderedSet<T>
Assembly: NMF.Collections.dll
Syntax
public class OrderedSet<T> : DecoratedSet<T>, IList, ICollection, IOrderedSet<T>, IList<T>, ISet<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
Properties
|
Edit this page
View Source
this[int]
Declaration
public T this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Methods
|
Edit this page
View Source
Add(T)
Declaration
public override bool Add(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Overrides
NMF.Collections.Generic.DecoratedSet<T>.Add(T)
|
Edit this page
View Source
AsReadOnly()
Declaration
public ReadOnlyOrderedSet<T> AsReadOnly()
Returns
|
Edit this page
View Source
Clear()
Declaration
public override void Clear()
Overrides
NMF.Collections.Generic.DecoratedSet<T>.Clear()
|
Edit this page
View Source
GetEnumerator()
Declaration
public override IEnumerator<T> GetEnumerator()
Returns
Overrides
NMF.Collections.Generic.DecoratedSet<T>.GetEnumerator()
|
Edit this page
View Source
IndexOf(T)
Declaration
public int IndexOf(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
|
Edit this page
View Source
Insert(int, T)
Declaration
public virtual void Insert(int index, T item)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
item |
|
|
Edit this page
View Source
Remove(T)
Declaration
public override sealed bool Remove(T item)
Parameters
Type |
Name |
Description |
T |
item |
|
Returns
Overrides
NMF.Collections.Generic.DecoratedSet<T>.Remove(T)
|
Edit this page
View Source
Remove(T, int)
Declaration
protected virtual bool Remove(T item, int index)
Parameters
Type |
Name |
Description |
T |
item |
|
int |
index |
|
Returns
|
Edit this page
View Source
RemoveAt(int)
Declaration
public void RemoveAt(int index)
Parameters
Type |
Name |
Description |
int |
index |
|
|
Edit this page
View Source
Replace(int, T, T)
Declaration
protected virtual void Replace(int index, T oldValue, T newValue)
Parameters
Type |
Name |
Description |
int |
index |
|
T |
oldValue |
|
T |
newValue |
|
Implements