xtd 0.2.0
xtd::reflection::assembly Class Reference

Definition

Represents an assembly, which is a reusable, versionable, and self-describing building block of an application.

class assembly : public xtd::object
Inheritance
xtd::object → xtd::reflection::assembly
Header
#include <xtd/reflection/assembly>
Namespace
xtd::diagnostics
Library
xtd.core

Properties

const ustring & company () const noexcept
 Gets company name information. More...
 
const ustring & configuration () const noexcept
 Gets assembly configuration information. More...
 
const ustring & copyright () const noexcept
 Initializes a new instance of the xtd::reflection::assembly_copyright_attribute class. More...
 
const ustring & culture () const noexcept
 Gets culture information. More...
 
const ustring & description () const noexcept
 Gets decription information. More...
 
const ustring & file_version () const noexcept
 Gets file version information. More...
 
const ustring & guid () const noexcept
 Gets guid information. More...
 
const ustring & identifier () const noexcept
 Gets identifier information. More...
 
const ustring & name () const noexcept
 Gets name information. More...
 
const ustring & product () const noexcept
 Gets product information. More...
 
const ustring & title () const noexcept
 Gets title information. More...
 
const ustring & trademarks () const noexcept
 Gets trademark information. More...
 
const ustring & version () const noexcept
 Gets version information. More...
 

Methods

static const assembly & get_executing_assembly () noexcept
 Gets the assembly that contains the code that is currently executing. More...
 

Protected constructors

 assembly ()=default
 Initializes a new instance of the xtd::reflection::assembly class. More...
 

Additional Inherited Members

- Public Member Functions inherited from xtd::object
 object ()=default
 Create a new instance of the ultimate base class object. More...
 
bool equals (const object &obj) const noexcept
 Determines whether the specified object is equal to the current object. More...
 
virtual size_t get_hash_code () const noexcept
 Serves as a hash function for a particular type. More...
 
virtual type_object get_type () const noexcept
 Gets the type of the current instance. More...
 
template<typename object_t >
std::unique_ptr< object_t > memberwise_clone () const noexcept
 Creates a shallow copy of the current object. More...
 
virtual xtd::ustring to_string () const noexcept
 Returns a sxd::ustring that represents the current object. More...
 
- Static Public Member Functions inherited from xtd::object
static bool equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are considered equal. More...
 
static bool reference_equals (const object &object_a, const object &object_b) noexcept
 Determines whether the specified object instances are the same instance. More...
 

Constructor & Destructor Documentation

◆ assembly()

xtd::reflection::assembly::assembly ( )
protecteddefault

Initializes a new instance of the xtd::reflection::assembly class.

Remarks
This constructor is invoked by derived classes during the construction of xtd::reflection::assembly objects.

Member Function Documentation

◆ company()

const ustring& xtd::reflection::assembly::company ( ) const
noexcept

Gets company name information.

Returns
A string containing the company name.

◆ configuration()

const ustring& xtd::reflection::assembly::configuration ( ) const
noexcept

Gets assembly configuration information.

Returns
A string containing the assembly configuration information.

◆ copyright()

const ustring& xtd::reflection::assembly::copyright ( ) const
noexcept

Initializes a new instance of the xtd::reflection::assembly_copyright_attribute class.

Parameters
copyrightThe copyright information.

◆ culture()

const ustring& xtd::reflection::assembly::culture ( ) const
noexcept

Gets culture information.

Returns
A string containing the culture information.

◆ description()

const ustring& xtd::reflection::assembly::description ( ) const
noexcept

Gets decription information.

Returns
A string containing the decription information.

◆ file_version()

const ustring& xtd::reflection::assembly::file_version ( ) const
noexcept

Gets file version information.

Returns
A string containing the file version information.

◆ get_executing_assembly()

static const assembly& xtd::reflection::assembly::get_executing_assembly ( )
staticnoexcept

Gets the assembly that contains the code that is currently executing.

Returns
The assembly that contains the code that is currently executing.

◆ guid()

const ustring& xtd::reflection::assembly::guid ( ) const
noexcept

Gets guid information.

Returns
A string containing the guid information.

◆ identifier()

const ustring& xtd::reflection::assembly::identifier ( ) const
noexcept

Gets identifier information.

Returns
A string containing the identifier information.

◆ name()

const ustring& xtd::reflection::assembly::name ( ) const
noexcept

Gets name information.

Returns
A string containing the name information.

◆ product()

const ustring& xtd::reflection::assembly::product ( ) const
noexcept

Gets product information.

Returns
A string containing the product information.

◆ title()

const ustring& xtd::reflection::assembly::title ( ) const
noexcept

Gets title information.

Returns
A string containing the title information.

◆ trademarks()

const ustring& xtd::reflection::assembly::trademarks ( ) const
noexcept

Gets trademark information.

Returns
A string containing the trademark information.

◆ version()

const ustring& xtd::reflection::assembly::version ( ) const
noexcept

Gets version information.

Returns
A string containing the version information.

The documentation for this class was generated from the following file: