Default software package representation.
Initialize a new instance of Package.
public Void Package(assembly)
Name | Type | Summary |
---|---|---|
assembly | Assembly | The assembly of the package. |
Initializes a new instance of Package.
public Void Package(configuration)
Name | Type | Summary |
---|---|---|
configuration | PackageConfiguration | Package configuration. |
Type | Summary |
---|---|
ArgumentNullException | Thown when configuration is null. |
PackageAssemblyLoadException | Thrown when the package assembly could not be loaded. |
Initializes a new instance of Package.
public Void Package(assemblyName)
Name | Type | Summary |
---|---|---|
assemblyName | String | The Assembly name of the package. |
Type | Summary |
---|---|
ArgumentNullOrEmptyException | Thrown assemblyName is null or empty. |
PackageAssemblyLoadException | Thrown when the package assembly couldn't be loaded. |
Package assembly.
public Assembly Assembly { get; set; }
Package name.
public String Name { get; set; }
Returns a collection of non-abstract classes that
are assignable from
public IEnumerable GetObjectsAssignableFrom<T>()
A collection of objects assignable from type
The object are initialized throught their default constructor.
Returns a collection of non-abstract classes that are assignable from type.
public IEnumerable<Object> GetObjectsAssignableFrom(type)
A collection of objects assignable from type type
The object are initialized throught their default constructor.
Name | Type | Summary |
---|---|---|
type | Type | Type of that the object must be assigneble from. |
Retrieves a textual representation of the package.
public String ToString()