Represents an assembly, which is a reusable, versionable, and self-describing building block of an application.
Public Properties | |
| auto | company () const noexcept -> const xtd::string & |
| Gets company name information. | |
| auto | configuration () const noexcept -> const xtd::string & |
| Gets assembly configuration information. | |
| auto | copyright () const noexcept -> const xtd::string & |
| Initializes a new instance of the xtd::reflection::assembly_copyright_attribute class. | |
| auto | culture () const noexcept -> const xtd::string & |
| Gets culture information. | |
| auto | description () const noexcept -> const xtd::string & |
| Gets decription information. | |
| auto | file_name () const noexcept -> xtd::string |
| Gets file_name information. | |
| auto | file_version () const noexcept -> const xtd::string & |
| Gets file version information. | |
| auto | guid () const noexcept -> const xtd::string & |
| Gets guid information. | |
| auto | identifier () const noexcept -> const xtd::string & |
| Gets identifier information. | |
| auto | location () const noexcept -> xtd::string |
| Gets the location of the executable file. | |
| auto | location_path () const noexcept -> xtd::string |
| Gets the path for the executable file that started the application, not including the executable name. | |
| auto | name () const noexcept -> const xtd::string & |
| Gets name information. | |
| auto | name_or_file_name () const noexcept -> xtd::string |
| Gets name or file_name if empty information. | |
| auto | product () const noexcept -> const xtd::string & |
| Gets product information. | |
| auto | title () const noexcept -> const xtd::string & |
| Gets title information. | |
| auto | trademark () const noexcept -> const xtd::string & |
| Gets trademark information. | |
| auto | version () const noexcept -> const xtd::string & |
| Gets version information. | |
Public Methods | |
| auto | equals (const xtd::object &obj) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | equals (const assembly &other) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | get_hash_code () const noexcept -> xtd::usize override |
| Serves as a hash function for a particular type. | |
Public Static Methods | |
| static auto | get_executing_assembly () noexcept -> const assembly & |
| 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 | |
| object ()=default | |
| Create a new instance of the ultimate base class object. | |
| virtual auto | get_type () const noexcept -> type_object |
| Gets the type of the current instance. | |
| template<typename object_t> | |
| auto | memberwise_clone () const -> xtd::unique_ptr_object< object_t > |
| Creates a shallow copy of the current object. | |
| virtual auto | to_string () const -> xtd::string |
| Returns a xtd::string that represents the current object. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are considered equal. | |
| template<typename object_a_t, typename object_b_t> | |
| static auto | reference_equals (const object_a_t &object_a, const object_b_t &object_b) noexcept -> bool |
| Determines whether the specified object instances are the same instance. | |
|
protecteddefault |
Initializes a new instance of the xtd::reflection::assembly class.
|
nodiscardnoexcept |
Gets company name information.
|
nodiscardnoexcept |
Gets assembly configuration information.
|
nodiscardnoexcept |
Initializes a new instance of the xtd::reflection::assembly_copyright_attribute class.
| copyright | The copyright information. |
|
nodiscardnoexcept |
Gets culture information.
|
nodiscardnoexcept |
Gets decription information.
|
nodiscardnoexcept |
Gets file_name information.
|
nodiscardnoexcept |
Gets file version information.
|
nodiscardnoexcept |
Gets guid information.
|
nodiscardnoexcept |
Gets identifier information.
|
nodiscardnoexcept |
Gets the location of the executable file.
|
nodiscardnoexcept |
Gets the path for the executable file that started the application, not including the executable name.
|
nodiscardnoexcept |
Gets name information.
|
nodiscardnoexcept |
Gets name or file_name if empty information.
|
nodiscardnoexcept |
Gets product information.
|
nodiscardnoexcept |
Gets title information.
|
nodiscardnoexcept |
Gets trademark information.
|
nodiscardnoexcept |
Gets version information.
|
nodiscardoverridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
Reimplemented from xtd::object.
|
nodiscardoverridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
| other | The object to compare with the current object. |
Implements xtd::iequatable< xtd::reflection::assembly >.
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
staticnodiscardnoexcept |
Gets the assembly that contains the code that is currently executing.