#include <target_type.h>
Represents information about target type, such as the target identifier. This class cannot be inherited.
Constructors | |
target_type (xtd::target_id target_id) | |
Initialise a new xtd::target_type class. More... | |
Properties | |
bool | is_console_application () const noexcept |
Gets target id is console application. More... | |
bool | is_guid_application () const noexcept |
Gets target id is gui application. More... | |
bool | is_test_application () const noexcept |
Gets target id is test application. More... | |
bool | is_shared_library () const noexcept |
Gets target id is shared library. More... | |
bool | is_static_library () const noexcept |
Gets target id is static library. More... | |
ustring | name () const noexcept |
Gets target id name. More... | |
xtd::target_id | target_id () const noexcept |
Gets target id value. More... | |
Methods | |
ustring | to_string () const noexcept override |
Returns a sxd::ustring that represents the current object. More... | |
Additional Inherited Members | |
![]() | |
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... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const noexcept |
Gets the type of the current instance. 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... | |
xtd::target_type::target_type | ( | xtd::target_id | target_id | ) |
Initialise a new xtd::target_type class.
target_id | One of xtd::target_id values. |
|
noexcept |
Gets target id is console application.
|
noexcept |
Gets target id is gui application.
|
noexcept |
Gets target id is shared library.
|
noexcept |
Gets target id is static library.
|
noexcept |
Gets target id is test application.
|
noexcept |
Gets target id name.
|
noexcept |
Gets target id value.
|
overridevirtualnoexcept |
Returns a sxd::ustring that represents the current object.
Reimplemented from xtd::object.