Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue > Interface Template Reference

Represents an immutable list interface that can be accessed by index. More...

Inheritance diagram for PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >:

Public Member Functions

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...
 

Properties

bool IsEmpty [get]
 Returns true if the immutable list is empty. Otherwise false. More...
 

Detailed Description

Represents an immutable list interface that can be accessed by index.

Template Parameters
TValueThe type of the list elements.

Member Function Documentation

bool PushTechnology.ClientInterface.Collections.Immutable.IImmutableList< TValue >.Contains ( TValue  value)

Determines if the list contains the specified value.

Parameters
valueThe 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
valueThe 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
valueThe 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
valueThe 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
valuesThe 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
valuesThe 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.

Property Documentation

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: