C# Class Mono.Addins.Setup.PackageCollection

A collection of packages
Inheritance: System.Collections.CollectionBase
Datei anzeigen Open project: slluis/mono-addins Class Usage Examples

Public Methods

Method Description
Add ( Mono.Addins.Setup.Package p ) : void

Adds a package

AddRange ( ICollection col ) : void

Adds a list of packages to the collection

Contains ( Mono.Addins.Setup.Package p ) : bool

Checks if a package is present in the collection

PackageCollection ( ) : System
PackageCollection ( ICollection col ) : System

Copy constructor

this ( int n ) : Mono.Addins.Setup.Package

Gets a package

Method Details

Add() public method

Adds a package
public Add ( Mono.Addins.Setup.Package p ) : void
p Mono.Addins.Setup.Package /// A package ///
return void

AddRange() public method

Adds a list of packages to the collection
public AddRange ( ICollection col ) : void
col ICollection /// The list of packages to add ///
return void

Contains() public method

Checks if a package is present in the collection
public Contains ( Mono.Addins.Setup.Package p ) : bool
p Mono.Addins.Setup.Package /// The package ///
return bool

PackageCollection() public method

public PackageCollection ( ) : System
return System

PackageCollection() public method

Copy constructor
public PackageCollection ( ICollection col ) : System
col ICollection /// Collection where to copy from ///
return System

this() public method

Gets a package
public this ( int n ) : Mono.Addins.Setup.Package
n int /// Package index ///
return Mono.Addins.Setup.Package