C# Class Mono.Addins.Description.ObjectDescriptionCollection

Base class for add-in description collections.
Inheritance: System.Collections.CollectionBase
Exibir arquivo Open project: slluis/mono-addins Class Usage Examples

Public Methods

Method Description
Add ( ObjectDescription ep ) : void

Add an object.

AddRange ( ObjectDescriptionCollection collection ) : void

Adds a collection of objects.

Contains ( ObjectDescription ob ) : bool

Checks if an object is present in the collection.

Insert ( int index, ObjectDescription ep ) : void

Insert an object.

ObjectDescriptionCollection ( ) : System

Initializes a new instance of the Mono.Addins.Description.ObjectDescriptionCollection class.

Remove ( ObjectDescription ep ) : void

Removes an object.

Protected Methods

Method Description
OnClear ( ) : void
OnInsertComplete ( int index, object value ) : void
OnRemove ( int index, object value ) : void
OnSetComplete ( int index, object oldValue, object newValue ) : void

Private Methods

Method Description
ObjectDescriptionCollection ( object owner ) : System
SaveXml ( XmlElement parent ) : void
Verify ( string location, StringCollection errors ) : void

Method Details

Add() public method

Add an object.
public Add ( ObjectDescription ep ) : void
ep ObjectDescription /// The object. ///
return void

AddRange() public method

Adds a collection of objects.
public AddRange ( ObjectDescriptionCollection collection ) : void
collection ObjectDescriptionCollection /// The objects to add. ///
return void

Contains() public method

Checks if an object is present in the collection.
public Contains ( ObjectDescription ob ) : bool
ob ObjectDescription /// Objecect to check. ///
return bool

Insert() public method

Insert an object.
public Insert ( int index, ObjectDescription ep ) : void
index int /// Insertion index. ///
ep ObjectDescription /// The object. ///
return void

ObjectDescriptionCollection() public method

Initializes a new instance of the Mono.Addins.Description.ObjectDescriptionCollection class.
public ObjectDescriptionCollection ( ) : System
return System

OnClear() protected method

protected OnClear ( ) : void
return void

OnInsertComplete() protected method

protected OnInsertComplete ( int index, object value ) : void
index int
value object
return void

OnRemove() protected method

protected OnRemove ( int index, object value ) : void
index int
value object
return void

OnSetComplete() protected method

protected OnSetComplete ( int index, object oldValue, object newValue ) : void
index int
oldValue object
newValue object
return void

Remove() public method

Removes an object.
public Remove ( ObjectDescription ep ) : void
ep ObjectDescription /// Object to remove. ///
return void