Represents an assembly, which is a reusable, versionable, and self-describing building block of an application.
Defines a generalized method that a value type or class implements to create a type-specific method f...
Definition iequatable.hpp:22
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:43
Represents an assembly, which is a reusable, versionable, and self-describing building block of an ap...
Definition assembly.hpp:27
#define core_export_
Define shared library export.
Definition core_export.hpp:13
- Inheritance
- xtd::object → xtd::reflection::assembly
- Header
#include <xtd/reflection/assembly>
- Namespace
- xtd::diagnostics
- Library
- xtd.core
|
bool | equals (const object &obj) const noexcept override |
| Determines whether the specified object is equal to the current object.
|
|
bool | equals (const assembly &other) const noexcept override |
| Determines whether the specified object is equal to the current object.
|
|
xtd::size | get_hash_code () const noexcept override |
| Serves as a hash function for a particular type.
|
|
|
| object ()=default |
| Create a new instance of the ultimate base class object.
|
|
virtual type_object | get_type () const noexcept |
| Gets the type of the current instance.
|
|
template<class 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.
|
|
template<class object_a_t , class 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<class object_a_t , class 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.
|
|
◆ assembly()
xtd::reflection::assembly::assembly |
( |
| ) |
|
|
protecteddefault |
◆ 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 |
◆ 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.
◆ equals() [1/2]
bool xtd::reflection::assembly::equals |
( |
const object & |
obj | ) |
const |
|
overridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
- Parameters
-
obj | The object to compare with the current object. |
- Returns
true
if the specified object is equal to the current object. otherwise, false
.
Reimplemented from xtd::object.
◆ equals() [2/2]
bool xtd::reflection::assembly::equals |
( |
const assembly & |
other | ) |
const |
|
overridevirtualnoexcept |
Determines whether the specified object is equal to the current object.
- Parameters
-
other | The object to compare with the current object. |
- Returns
true
if the specified object is equal to the current object. otherwise, false
.
Implements xtd::iequatable< xtd::reflection::assembly >.
◆ get_hash_code()
xtd::size xtd::reflection::assembly::get_hash_code |
( |
| ) |
const |
|
overridevirtualnoexcept |
Serves as a hash function for a particular type.
- Returns
- A hash code for the current object.
Reimplemented from xtd::object.
◆ 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: