C# Class nHydrate.Wizard.WizardPagesCollection

Inheritance: System.Collections.CollectionBase
Exibir arquivo Open project: nHydrate/nHydrate

Public Methods

Method Description
Add ( WizardPage value ) : int

Adds an object to the end of the WizardPagesCollection.

AddRange ( WizardPage pages ) : void

Adds the elements of an array of WizardPage objects to the end of the WizardPagesCollection.

Contains ( WizardPage value ) : bool

Determines whether an element is in the WizardPagesCollection.

IndexOf ( WizardPage value ) : int

Searches for the specified WizardPage and returns the zero-based index of the first occurrence in the entire WizardPagesCollection.

Insert ( int index, WizardPage value ) : void

Inserts an element into the WizardPagesCollection at the specified index.

Remove ( WizardPage value ) : void

Removes the first occurrence of a specific object from the WizardPagesCollection.

this ( int index ) : WizardPage

Protected Methods

Method Description
OnInsertComplete ( int index, object value ) : void

Performs additional custom processes after inserting a new element into the WizardPagesCollection instance.

OnRemoveComplete ( int index, object value ) : void

Performs additional custom processes after removing an element from the System.Collections.CollectionBase instance.

Private Methods

Method Description
WizardPagesCollection ( Wizard owner ) : System

Creates a new instance of the WizardPagesCollection class.

Method Details

Add() public method

Adds an object to the end of the WizardPagesCollection.
public Add ( WizardPage value ) : int
value WizardPage The WizardPage to be added. /// The value can be null.
return int

AddRange() public method

Adds the elements of an array of WizardPage objects to the end of the WizardPagesCollection.
public AddRange ( WizardPage pages ) : void
pages WizardPage An array on WizardPage objects to be added. /// The array itself cannot be null, but it can contain elements that are null.
return void

Contains() public method

Determines whether an element is in the WizardPagesCollection.
public Contains ( WizardPage value ) : bool
value WizardPage The WizardPage object to locate. The value can be null.
return bool

IndexOf() public method

Searches for the specified WizardPage and returns the zero-based index of the first occurrence in the entire WizardPagesCollection.
public IndexOf ( WizardPage value ) : int
value WizardPage A WizardPage object to locate in the WizardPagesCollection. /// The value can be null.
return int

Insert() public method

Inserts an element into the WizardPagesCollection at the specified index.
public Insert ( int index, WizardPage value ) : void
index int An Integer value representing the zero-based index at which value should be inserted.
value WizardPage A WizardPage object to insert. The value can be null.
return void

OnInsertComplete() protected method

Performs additional custom processes after inserting a new element into the WizardPagesCollection instance.
protected OnInsertComplete ( int index, object value ) : void
index int The zero-based index at which to insert value.
value object The new value of the element at index.
return void

OnRemoveComplete() protected method

Performs additional custom processes after removing an element from the System.Collections.CollectionBase instance.
protected OnRemoveComplete ( int index, object value ) : void
index int The zero-based index at which value can be found.
value object The value of the element to remove from index.
return void

Remove() public method

Removes the first occurrence of a specific object from the WizardPagesCollection.
public Remove ( WizardPage value ) : void
value WizardPage A WizardPage object to remove. The value can be null.
return void

this() public method

public this ( int index ) : WizardPage
index int
return WizardPage