Specifies a name for an assembly.
Protected Member Functions | |
| auto | get_type_id () const noexcept -> xtd::sptr< xtd::object > override |
| When implemented in a derived class, gets a unique identifier for this attribute. | |
| attribute ()=default | |
| Initializes a new instance of the attribute class. | |
Public Constructors | |
| assembly_name_attribute (const string &name) | |
| Initializes a new instance of the xtd::reflection::assembly_name_attribute class. | |
Public Properties | |
| auto | name () const noexcept -> const xtd::string & |
| Gets name information. | |
Public Methods | |
| auto | equals (const object &obj) const noexcept -> bool override |
| Determines whether the specified object is equal to the current object. | |
| auto | equals (const assembly_name_attribute &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 | create (const string &name) -> assembly_name_attribute |
| Creates the assembly name information. Must be called once in your application. | |
Additional Inherited Members | |
| auto | type_id () const noexcept -> xtd::sptr< object > |
| When implemented in a derived class, gets a unique identifier for this attribute. | |
| 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. | |
|
explicit |
Initializes a new instance of the xtd::reflection::assembly_name_attribute class.
| name | The name information. |
|
nodiscardnoexcept |
Gets name 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_name_attribute >.
|
nodiscardoverridevirtualnoexcept |
Serves as a hash function for a particular type.
Reimplemented from xtd::object.
|
nodiscardoverrideprotectedvirtualnoexcept |
When implemented in a derived class, gets a unique identifier for this attribute.
Implements xtd::attribute.