Package

Default software package representation.

Namespace:
Inetdev.Context
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object
Implements:
Inetdev.Context.IPackage

Constructors

Package

Initialize a new instance of Package.

Signature:
public Void Package(assembly)
Parameters
Name Type Summary
assembly Assembly The assembly of the package.

Package

Initializes a new instance of Package.

Signature:
public Void Package(configuration)
Parameters
Name Type Summary
configuration PackageConfiguration Package configuration.
Exceptions
Type Summary
ArgumentNullException Thown when configuration is null.
PackageAssemblyLoadException Thrown when the package assembly could not be loaded.

Package

Initializes a new instance of Package.

Signature:
public Void Package(assemblyName)
Parameters
Name Type Summary
assemblyName String The Assembly name of the package.
Exceptions
Type Summary
ArgumentNullOrEmptyException Thrown assemblyName is null or empty.
PackageAssemblyLoadException Thrown when the package assembly couldn't be loaded.

Properties

Assembly

Package assembly.

Signature:
public Assembly Assembly { get; set; }

Name

Package name.

Signature:
public String Name { get; set; }

Methods

GetObjectsAssignableFrom

Returns a collection of non-abstract classes that are assignable from .

Signature:
public IEnumerable GetObjectsAssignableFrom<T>()
Returns

A collection of objects assignable from type

Remarks

The object are initialized throught their default constructor.

GetObjectsAssignableFrom

Returns a collection of non-abstract classes that are assignable from type.

Signature:
public IEnumerable<Object> GetObjectsAssignableFrom(type)
Returns

A collection of objects assignable from type type

Remarks

The object are initialized throught their default constructor.

Parameters
Name Type Summary
type Type Type of that the object must be assigneble from.

ToString

Retrieves a textual representation of the package.

Signature:
public String ToString()