C# 클래스 SupportClass.CollectionSupport, csharp-ldap

This class contains different methods to manage Collections.
상속: System.Collections.CollectionBase
파일 보기 프로젝트 열기: EventStore/csharp-ldap 1 사용 예제들

공개 메소드들

메소드 설명
Add ( System element ) : bool

Adds an specified element to the collection.

AddAll ( CollectionSupport collection ) : bool

Adds all the elements contained in the specified support class collection.

AddAll ( System collection ) : bool

Adds all the elements contained in the specified collection.

CollectionSupport ( ) : System

Creates an instance of the Collection by using an inherited constructor.

Contains ( System element ) : bool

Verifies if the specified element is contained into the collection.

ContainsAll ( CollectionSupport collection ) : bool

Verifies if all the elements of the specified collection are contained into the current collection.

ContainsAll ( System collection ) : bool

Verifies if all the elements of the specified collection are contained into the current collection.

IsEmpty ( ) : bool

Verifies if the collection is empty.

Remove ( System element ) : bool

Removes an specified element from the collection.

RemoveAll ( CollectionSupport collection ) : bool

Removes all the elements contained into the specified collection.

RemoveAll ( System collection ) : bool

Removes all the elements contained into the specified collection.

RetainAll ( CollectionSupport collection ) : bool

Removes all the elements that aren't contained into the specified collection.

RetainAll ( System collection ) : bool

Removes all the elements that aren't contained into the specified collection.

ToArray ( ) : System.Object[]

Obtains an array containing all the elements of the collection.

ToArray ( System objects ) : System.Object[]

Obtains an array containing all the elements of the collection.

ToCollectionSupport ( System array ) : CollectionSupport

Creates a CollectionSupport object with the contents specified in array.

메소드 상세

Add() 공개 메소드

Adds an specified element to the collection.
public Add ( System element ) : bool
element System The element to be added.
리턴 bool

AddAll() 공개 메소드

Adds all the elements contained in the specified support class collection.
public AddAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to extract the elements that will be added.
리턴 bool

AddAll() 공개 메소드

Adds all the elements contained in the specified collection.
public AddAll ( System collection ) : bool
collection System The collection used to extract the elements that will be added.
리턴 bool

CollectionSupport() 공개 메소드

Creates an instance of the Collection by using an inherited constructor.
public CollectionSupport ( ) : System
리턴 System

Contains() 공개 메소드

Verifies if the specified element is contained into the collection.
public Contains ( System element ) : bool
element System The element that will be verified.
리턴 bool

ContainsAll() 공개 메소드

Verifies if all the elements of the specified collection are contained into the current collection.
public ContainsAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to extract the elements that will be verified.
리턴 bool

ContainsAll() 공개 메소드

Verifies if all the elements of the specified collection are contained into the current collection.
public ContainsAll ( System collection ) : bool
collection System The collection used to extract the elements that will be verified.
리턴 bool

IsEmpty() 공개 메소드

Verifies if the collection is empty.
public IsEmpty ( ) : bool
리턴 bool

Remove() 공개 메소드

Removes an specified element from the collection.
public Remove ( System element ) : bool
element System The element to be removed.
리턴 bool

RemoveAll() 공개 메소드

Removes all the elements contained into the specified collection.
public RemoveAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to extract the elements that will be removed.
리턴 bool

RemoveAll() 공개 메소드

Removes all the elements contained into the specified collection.
public RemoveAll ( System collection ) : bool
collection System The collection used to extract the elements that will be removed.
리턴 bool

RetainAll() 공개 메소드

Removes all the elements that aren't contained into the specified collection.
public RetainAll ( CollectionSupport collection ) : bool
collection CollectionSupport The collection used to verify the elements that will be retained.
리턴 bool

RetainAll() 공개 메소드

Removes all the elements that aren't contained into the specified collection.
public RetainAll ( System collection ) : bool
collection System The collection used to verify the elements that will be retained.
리턴 bool

ToArray() 공개 메소드

Obtains an array containing all the elements of the collection.
public ToArray ( ) : System.Object[]
리턴 System.Object[]

ToArray() 공개 메소드

Obtains an array containing all the elements of the collection.
public ToArray ( System objects ) : System.Object[]
objects System The array into which the elements of the collection will be stored.
리턴 System.Object[]

ToCollectionSupport() 공개 정적인 메소드

Creates a CollectionSupport object with the contents specified in array.
public static ToCollectionSupport ( System array ) : CollectionSupport
array System The array containing the elements used to populate the new CollectionSupport object.
리턴 CollectionSupport