Enhanced C#
Loyc library documentation
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Properties | List of all members
Loyc.Collections.ISource< out T > Interface Template Reference

Combines IReadOnlyCollection{T} with related interfaces ICount and IIsEmpty. More...


Source file:
Inheritance diagram for Loyc.Collections.ISource< out T >:
Loyc.Collections.ICount Loyc.Collections.IIsEmpty Loyc.Collections.IDictionarySource< K, V > Loyc.Collections.IListSource< out T > Loyc.Collections.IDictionaryImpl< K, V > Loyc.Collections.AListBase< K, T > Loyc.Collections.AListBase< K, T > Loyc.Collections.AListReverseView< K, T > Loyc.Collections.BList< T > Loyc.Collections.IArray< T > Loyc.Collections.ICharSource Loyc.Collections.IListAndListSource< T > Loyc.Collections.Impl.InternalDList< T > Loyc.Collections.IRange< out T > Loyc.Collections.ISparseListSource< T > Loyc.Collections.ReadOnlyArraySlice< T > Loyc.Collections.ReadOnlyListAsListSource< T > Loyc.Collections.ROLSlice< T, TList >

Remarks

Combines IReadOnlyCollection{T} with related interfaces ICount and IIsEmpty.

Properties

new int Count [get]
 Gets the number of items in the collection. More...
 
- Properties inherited from Loyc.Collections.ICount
int Count [get]
 Gets the number of items in the collection. More...
 
- Properties inherited from Loyc.Collections.IIsEmpty
bool IsEmpty [get]
 

Property Documentation

new int Loyc.Collections.ISource< out T >.Count
get

Gets the number of items in the collection.

This property exists only to resolve the supposed "ambiguity" between IReadOnlyCollection{T}.Count and ICount.Count.

Referenced by Loyc.Syntax.Lexing.Token.SourceText(), Loyc.Syntax.Les.TokenExt.ToString(), and Loyc.Ecs.Parser.TokenExt.ToString().