xtd 0.2.0
Loading...
Searching...
No Matches
xtd::reflection::assembly Class Reference
Inheritance diagram for xtd::reflection::assembly:
xtd::object

Definition

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

class assembly : public xtd::object
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
Represents an assembly, which is a reusable, versionable, and self-describing building block of an ap...
Definition assembly.hpp:26
Inheritance
xtd::objectxtd::reflection::assembly
Header
#include <xtd/reflection/assembly>
Namespace
xtd::diagnostics
Library
xtd.core

Public Properties

const stringcompany () const noexcept
 Gets company name information.
 
const stringconfiguration () const noexcept
 Gets assembly configuration information.
 
const stringcopyright () const noexcept
 Initializes a new instance of the xtd::reflection::assembly_copyright_attribute class.
 
const stringculture () const noexcept
 Gets culture information.
 
const stringdescription () const noexcept
 Gets decription information.
 
const stringfile_version () const noexcept
 Gets file version information.
 
const stringguid () const noexcept
 Gets guid information.
 
const stringidentifier () const noexcept
 Gets identifier information.
 
string location () const noexcept
 Gets the location of the executable file.
 
const stringname () const noexcept
 Gets name information.
 
const stringproduct () const noexcept
 Gets product information.
 
string location_path () const noexcept
 Gets the path for the executable file that started the application, not including the executable name.
 
const stringtitle () const noexcept
 Gets title information.
 
const stringtrademarks () const noexcept
 Gets trademark information.
 
const stringversion () const noexcept
 Gets version information.
 

Static ethods

static const assemblyget_executing_assembly () noexcept
 Gets the assembly that contains the code that is currently executing.
 

Protected constructors

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

Additional Inherited Members

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

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 string & xtd::reflection::assembly::company ( ) const
noexcept

Gets company name information.

Returns
A string containing the company name.

◆ configuration()

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

Gets assembly configuration information.

Returns
A string containing the assembly configuration information.

◆ copyright()

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

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

Parameters
copyrightThe copyright information.

◆ culture()

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

Gets culture information.

Returns
A string containing the culture information.

◆ description()

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

Gets decription information.

Returns
A string containing the decription information.

◆ file_version()

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

Gets file version information.

Returns
A string containing the file version information.

◆ guid()

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

Gets guid information.

Returns
A string containing the guid information.

◆ identifier()

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

Gets identifier information.

Returns
A string containing the identifier information.

◆ location()

string xtd::reflection::assembly::location ( ) const
noexcept

Gets the location of the executable file.

Returns
A string containing the location_of the executable file.

◆ name()

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

Gets name information.

Returns
A string containing the name information.

◆ product()

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

Gets product information.

Returns
A string containing the product information.

◆ location_path()

string xtd::reflection::assembly::location_path ( ) const
noexcept

Gets the path for the executable file that started the application, not including the executable name.

Returns
The path for the executable file that started the application.

◆ title()

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

Gets title information.

Returns
A string containing the title information.

◆ trademarks()

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

Gets trademark information.

Returns
A string containing the trademark information.

◆ version()

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

Gets version information.

Returns
A string containing the 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.

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