Represents a toolkit.
- Namespace
- xtd::forms
- Library
- xtd.forms
|
bool | equals (const toolkit &other) const noexcept override |
| Indicates whether the current object is equal to another object of the same type. More...
|
|
xtd::ustring | to_string () const noexcept override |
| Returns a sxd::ustring that represents the current object. More...
|
|
|
| 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...
|
|
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...
|
|
◆ toolkit() [1/2]
xtd::toolkit::toolkit |
( |
| ) |
|
|
default |
◆ toolkit() [2/2]
Initializes a new instance of the xtd::toolkit class with the specified name and version.
- Parameters
-
name | The toolkit name. |
version | The toolkit version. |
description | The toolkit description. |
◆ description()
Gets the toolkit description.
- Returns
- The toolkit description.
◆ equals()
bool xtd::toolkit::equals |
( |
const toolkit & |
| ) |
const |
|
overridevirtualnoexcept |
Indicates whether the current object is equal to another object of the same type.
- Parameters
-
obj | An object to compare with this object. |
- Returns
- true if the current object is equal to the other parameter; otherwise, false.
Implements xtd::iequatable< toolkit >.
◆ name()
Gets the toolkit name.
- Returns
- The toolkit name.
◆ to_string()
Returns a sxd::ustring that represents the current object.
- Returns
- A string that represents the current object.
- Examples
- The following code example demonstrates what to_string returns.
Reimplemented from xtd::object.
◆ version()
Gets the toolkit version.
- Returns
- The toolkit version.
The documentation for this class was generated from the following file: