xtd 0.2.0
Loading...
Searching...
No Matches
assembly_description_attribute.h
Go to the documentation of this file.
1
3#pragma once
4#include "../core_export.h"
5#include "../attribute.h"
6
8namespace xtd {
10 namespace reflection {
26 public:
28
32 explicit assembly_description_attribute(const ustring& description);
34
37 assembly_description_attribute(const ustring& description, const object& executing_assembly);
39
41
45 const ustring& description() const noexcept;
47
48 protected:
49 std::shared_ptr<object> get_type_id() const noexcept override;
50
51 private:
52 ustring description_;
53 };
54 }
55}
56
58std::shared_ptr<xtd::reflection::assembly_description_attribute>& __assembly_description_attribute__();
60
74#define assembly_description_(description) \
75 xtd::reflection::assembly_description_attribute __assembly_description_attribute {description, xtd::object()}
Represents the base class for custom attributes.
Definition attribute.h:23
Provides a text description for an assembly.
Definition assembly_description_attribute.h:25
const ustring & description() const noexcept
Gets decription information.
assembly_description_attribute(const ustring &description)
Initializes a new instance of the xtd::reflection::assembly_description_attribute class.
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define core_export_
Define shared library export.
Definition core_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10