C# 클래스 Bamboo.Prevalence.Collections.List

상속: IList
파일 보기 프로젝트 열기: bamboo/Bamboo.Prevalence 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_list System.Collections.ArrayList
_random System.Random

공개 메소드들

메소드 설명
AcquireReaderLock ( ) : void
AcquireWriterLock ( ) : void
Add ( object value ) : int
AddRange ( IList range ) : void
Any ( Predicate predicate ) : bool
Apply ( System.Action action ) : void

Applies an action to every object in the list in the context of a writer lock.

Choose ( int count ) : Array

Choose ( ) : object

Selects an random item from the list.

Clear ( ) : void
Clone ( ) : ReaderWriterList
Collect ( Predicate predicate, Type returnItemType ) : Array
Collect ( Predicate predicate ) : object[]
Collect ( IList list, Predicate predicate ) : void
Contains ( object value ) : bool
CopyTo ( System array, int index ) : void
Find ( Predicate predicate ) : object
GetEnumerator ( ) : System.Collections.IEnumerator
GetRange ( int index, int count ) : object[]
IndexOf ( Predicate predicate ) : int
IndexOf ( object value ) : int
Insert ( int index, object value ) : void
List ( ) : System
List ( ICollection collection ) : System
List ( int initialCapacity ) : System
Map ( IEnumerable list ) : void

Maps every object in this list to an equivalent (Equals(item) returns true) in the list passed as argument. The entire mapping operation is accomplished in the context of a writer lock.

Map ( Mapping mapping ) : void

Maps every object in the list according to the mapping delegate in the context of a writer lock.

PopAny ( ) : object

Selects a random item from the list and removes it.

ReleaseReaderLock ( ) : void
ReleaseWriterLock ( ) : void
Remove ( object value ) : void
RemoveAt ( int index ) : void
Reverse ( ) : List
Sort ( ) : void
Sort ( IComparer comparer ) : void
ToArray ( Type type ) : Array
ToArray ( ) : object[]
ToShuffledArray ( Type elementType ) : Array
ToShuffledArray ( ) : object[]
ToSortedArray ( IComparer comparer, Type returnItemType ) : Array
ToSortedArray ( IComparer comparer ) : object[]
this ( int index ) : object

보호된 메소드들

메소드 설명
InnerCollect ( IList list, Predicate predicate ) : void

메소드 상세

AcquireReaderLock() 공개 메소드

public AcquireReaderLock ( ) : void
리턴 void

AcquireWriterLock() 공개 메소드

public AcquireWriterLock ( ) : void
리턴 void

Add() 공개 메소드

public Add ( object value ) : int
value object
리턴 int

AddRange() 공개 메소드

public AddRange ( IList range ) : void
range IList
리턴 void

Any() 공개 메소드

public Any ( Predicate predicate ) : bool
predicate Predicate
리턴 bool

Apply() 공개 메소드

Applies an action to every object in the list in the context of a writer lock.
public Apply ( System.Action action ) : void
action System.Action
리턴 void

Choose() 공개 메소드

public Choose ( int count ) : Array
count int
리턴 System.Array

Choose() 공개 메소드

Selects an random item from the list.
public Choose ( ) : object
리턴 object

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

Clone() 공개 메소드

public Clone ( ) : ReaderWriterList
리턴 ReaderWriterList

Collect() 공개 메소드

public Collect ( Predicate predicate, Type returnItemType ) : Array
predicate Predicate
returnItemType System.Type
리턴 System.Array

Collect() 공개 메소드

public Collect ( Predicate predicate ) : object[]
predicate Predicate
리턴 object[]

Collect() 공개 메소드

public Collect ( IList list, Predicate predicate ) : void
list IList
predicate Predicate
리턴 void

Contains() 공개 메소드

public Contains ( object value ) : bool
value object
리턴 bool

CopyTo() 공개 메소드

public CopyTo ( System array, int index ) : void
array System
index int
리턴 void

Find() 공개 메소드

public Find ( Predicate predicate ) : object
predicate Predicate
리턴 object

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : System.Collections.IEnumerator
리턴 System.Collections.IEnumerator

GetRange() 공개 메소드

public GetRange ( int index, int count ) : object[]
index int
count int
리턴 object[]

IndexOf() 공개 메소드

public IndexOf ( Predicate predicate ) : int
predicate Predicate
리턴 int

IndexOf() 공개 메소드

public IndexOf ( object value ) : int
value object
리턴 int

InnerCollect() 보호된 메소드

protected InnerCollect ( IList list, Predicate predicate ) : void
list IList
predicate Predicate
리턴 void

Insert() 공개 메소드

public Insert ( int index, object value ) : void
index int
value object
리턴 void

List() 공개 메소드

public List ( ) : System
리턴 System

List() 공개 메소드

public List ( ICollection collection ) : System
collection ICollection
리턴 System

List() 공개 메소드

public List ( int initialCapacity ) : System
initialCapacity int
리턴 System

Map() 공개 메소드

Maps every object in this list to an equivalent (Equals(item) returns true) in the list passed as argument. The entire mapping operation is accomplished in the context of a writer lock.
public Map ( IEnumerable list ) : void
list IEnumerable
리턴 void

Map() 공개 메소드

Maps every object in the list according to the mapping delegate in the context of a writer lock.
public Map ( Mapping mapping ) : void
mapping Mapping
리턴 void

PopAny() 공개 메소드

Selects a random item from the list and removes it.
public PopAny ( ) : object
리턴 object

ReleaseReaderLock() 공개 메소드

public ReleaseReaderLock ( ) : void
리턴 void

ReleaseWriterLock() 공개 메소드

public ReleaseWriterLock ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( object value ) : void
value object
리턴 void

RemoveAt() 공개 메소드

public RemoveAt ( int index ) : void
index int
리턴 void

Reverse() 공개 메소드

public Reverse ( ) : List
리턴 List

Sort() 공개 메소드

public Sort ( ) : void
리턴 void

Sort() 공개 메소드

public Sort ( IComparer comparer ) : void
comparer IComparer
리턴 void

ToArray() 공개 메소드

public ToArray ( Type type ) : Array
type System.Type
리턴 System.Array

ToArray() 공개 메소드

public ToArray ( ) : object[]
리턴 object[]

ToShuffledArray() 공개 메소드

public ToShuffledArray ( Type elementType ) : Array
elementType System.Type
리턴 System.Array

ToShuffledArray() 공개 메소드

public ToShuffledArray ( ) : object[]
리턴 object[]

ToSortedArray() 공개 메소드

public ToSortedArray ( IComparer comparer, Type returnItemType ) : Array
comparer IComparer
returnItemType System.Type
리턴 System.Array

ToSortedArray() 공개 메소드

public ToSortedArray ( IComparer comparer ) : object[]
comparer IComparer
리턴 object[]

this() 공개 메소드

public this ( int index ) : object
index int
리턴 object

프로퍼티 상세

_list 보호되어 있는 프로퍼티

protected ArrayList,System.Collections _list
리턴 System.Collections.ArrayList

_random 보호되어 있는 정적으로 프로퍼티

protected static Random,System _random
리턴 System.Random