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

This class manages a set of elements.
상속: System.Collections.ArrayList
파일 보기 프로젝트 열기: EventStore/csharp-ldap 1 사용 예제들

공개 메소드들

메소드 설명
Add ( object objectToAdd ) : bool

Adds an element to the set.

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.

ContainsAll ( CollectionSupport collection ) : bool

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

ContainsAll ( System collection ) : bool

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

IsEmpty ( ) : bool

Verifies if the collection is empty.

Remove ( object elementToRemove ) : bool

Removes an element from the set.

RemoveAll ( CollectionSupport collection ) : bool

Removes all the elements contained into the specified collection.

RemoveAll ( System collection ) : bool

Removes all the elements contained in 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 in the specified collection.

SetSupport ( ) : System

Creates a new set.

SetSupport ( System collection ) : System

Creates a new set initialized with System.Collections.ICollection object

SetSupport ( int capacity ) : System

Creates a new set initialized with a specific capacity.

ToArray ( ) : object[]

Obtains an array containing all the elements of the collection.

ToArray ( object objects ) : object[]

Obtains an array containing all the elements in the collection.

메소드 상세

Add() 공개 메소드

Adds an element to the set.
public Add ( object objectToAdd ) : bool
objectToAdd object The object 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

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 that 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 element from the set.
public Remove ( object elementToRemove ) : bool
elementToRemove object 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 in 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 in the specified collection.
public RetainAll ( System collection ) : bool
collection System The collection used to verify the elements that will be retained.
리턴 bool

SetSupport() 공개 메소드

Creates a new set.
public SetSupport ( ) : System
리턴 System

SetSupport() 공개 메소드

Creates a new set initialized with System.Collections.ICollection object
public SetSupport ( System collection ) : System
collection System System.Collections.ICollection object to initialize the set object
리턴 System

SetSupport() 공개 메소드

Creates a new set initialized with a specific capacity.
public SetSupport ( int capacity ) : System
capacity int value to set the capacity of the set object
리턴 System

ToArray() 공개 메소드

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

ToArray() 공개 메소드

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