Represents an immutable list interface that can be accessed by index.
More...
|
bool | Contains (TValue value) |
| Determines if the list contains the specified value. More...
|
|
int | IndexOf (TValue value) |
| Determines the zero-based index of the first occurence for the specified value. More...
|
|
IImmutableList< TValue > | With (TValue value) |
| Copies every value of the current immutable list to a new immutable list, including the newly specified value. More...
|
|
IImmutableList< TValue > | WithRange (IEnumerable< TValue > values) |
| Copies every value of the current immutable list to a new immutable list, including the newly specified range of values. More...
|
|
IImmutableList< TValue > | Without (TValue value) |
| Copies every value of the current immutable list to a new immutable list, excluding the specified value. More...
|
|
IImmutableList< TValue > | WithoutRange (IEnumerable< TValue > values) |
| Copies every value of the current immutable list to a new immutable list, excluding the specified range of values. More...
|
|
|
bool | IsEmpty [get] |
| Returns true if the immutable list is empty. Otherwise false. More...
|
|
Represents an immutable list interface that can be accessed by index.
- Template Parameters
-
TValue | The type of the list elements. |
bool PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.Contains |
( |
TValue |
value | ) |
|
Determines if the list contains the specified value.
- Parameters
-
value | The value to determine. |
- Returns
- True if the list contains value . Otherwise false.
int PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.IndexOf |
( |
TValue |
value | ) |
|
Determines the zero-based index of the first occurence for the specified value.
- Parameters
-
value | The value to get the index for. Can be null for reference types. |
- Returns
- The zero-based index of the first occurence of value . Otherwise -1.
IImmutableList<TValue> PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.With |
( |
TValue |
value | ) |
|
Copies every value of the current immutable list to a new immutable list, including the newly specified value.
- Parameters
-
value | The value to add to the new immutable list. Can be null for reference types. |
- Returns
- A new IImmutableList{TValue} containing every value of the current immutable list, including the specified value .
IImmutableList<TValue> PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.Without |
( |
TValue |
value | ) |
|
Copies every value of the current immutable list to a new immutable list, excluding the specified value.
- Parameters
-
value | The value to exclude from the new immutable list. Can be null for reference types. |
- Returns
- A new IImmutableList{TValue} containing every value of the current immutable list, excluding the specified value .
IImmutableList<TValue> PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.WithoutRange |
( |
IEnumerable< TValue > |
values | ) |
|
Copies every value of the current immutable list to a new immutable list, excluding the specified range of values.
- Parameters
-
values | The range of values to exclude from the new immutable list. |
- Returns
- A new IImmutableList{TValue} containing every value of the current immutable list, excluding the specified values .
If values is null
, nothing will be removed.
IImmutableList<TValue> PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.WithRange |
( |
IEnumerable< TValue > |
values | ) |
|
Copies every value of the current immutable list to a new immutable list, including the newly specified range of values.
- Parameters
-
values | The range of values to add to the new immutable list. |
- Returns
- A new IImmutableList{TValue} containing every value of the current immutable list, including the specified values .
If values is null
, nothing will be included.
bool PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.IsEmpty |
|
get |
Returns true if the immutable list is empty. Otherwise false.
The documentation for this interface was generated from the following file:
- Collections.Public/Immutable/IImmutableList.cs