xtd 0.2.0
assembly.hpp
Go to the documentation of this file.
1
3#pragma once
4#include "../iequatable.hpp"
5#include "../object.hpp"
6#include "../string.hpp"
7
9namespace xtd {
11 namespace reflection {
27 class core_export_ assembly : public xtd::object, public xtd::iequatable<xtd::reflection::assembly> {
28 public:
30 assembly(const assembly&) = default;
31 assembly(assembly&&) = default;
32 assembly& operator =(const assembly&) = default;
34
36
40 const string& company() const noexcept;
41
44 const string& configuration() const noexcept;
45
48 const string& copyright() const noexcept;
49
52 const string& culture() const noexcept;
53
56 const string& description() const noexcept;
57
60 const string& file_version() const noexcept;
61
64 const string& guid() const noexcept;
65
68 const string& identifier() const noexcept;
69
72 string location() const noexcept;
73
76 const string& name() const noexcept;
77
80 const string& product() const noexcept;
81
84 string location_path() const noexcept;
85
88 const string& title() const noexcept;
89
92 const string& trademarks() const noexcept;
93
96 const string& version() const noexcept;
98
100
105 bool equals(const object& obj) const noexcept override;
109 bool equals(const assembly& other) const noexcept override;
110
113 xtd::size get_hash_code() const noexcept override;
115
117
121 static const assembly& get_executing_assembly() noexcept;
123
124 protected:
126
130 assembly() = default;
132
133 private:
134 string company_;
135 string configuration_;
136 string copyright_;
137 string culture_;
138 string description_;
139 string file_version_;
140 string guid_;
141 string identifier_;
142 string name_;
143 string product_;
144 string title_;
145 string trademarks_;
146 string version_;
147 };
148 }
149}
Represents a globally unique identifier (GUID). A GUID is a 128-bit integer (16 bytes) that can be us...
Definition guid.hpp:24
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:44
Represents an assembly, which is a reusable, versionable, and self-describing building block of an ap...
Definition assembly.hpp:27
const string & company() const noexcept
Gets company name information.
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.hpp:114
#define core_export_
Define shared library export.
Definition core_export.hpp:13
size_t size
Represents a size of any object in bytes.
Definition size.hpp:23
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10