Nucleus .Net Core CMS

AssemblyExtensions Class

Namespace: Nucleus.Extensions
Assembly: Nucleus.Extensions.dll
The AssemblyExtensions class extends the System.Assembly class and provides easy access to assembly attributes.
Company (Assembly assembly)
Gets the assembly company.
Parameters
Name Type
assembly System.Reflection.Assembly

The Assembly to read data from.

Copyright (Assembly assembly)
Gets the assembly copyright.
Parameters
Name Type
assembly System.Reflection.Assembly

The Assembly to read data from.

LogName (Assembly assembly)
Returns the assembly name, version and relative location.
Parameters
Name Type
assembly System.Reflection.Assembly
string Product (Assembly assembly)
Gets the assembly product name.
Parameters
Name Type
assembly System.Reflection.Assembly

The Assembly to read data from.

ShortName (Assembly assembly)
Gets the assembly name and version.
Parameters
Name Type
assembly System.Reflection.Assembly

The Assembly to read data from.

Remarks
This value is typically used in application log messages.
Title (Assembly assembly)
Gets the assembly title.
Parameters
Name Type
assembly System.Reflection.Assembly

The Assembly to read data from.

Version (Assembly assembly)
Gets the assembly version.
Parameters
Name Type
assembly System.Reflection.Assembly

The Assembly to read data from.