xtd 0.2.0
Loading...
Searching...
No Matches
assembly_trademark_attribute.h
Go to the documentation of this file.
1
3#pragma once
4#include "../attribute.h"
5
7namespace xtd {
9 namespace reflection {
26 public:
30 explicit assembly_trademark_attribute(const string& trademark);
32
35 assembly_trademark_attribute(const string& trademark, const object& executing_assembly);
37
41 const string& trademark() const noexcept;
43
44 protected:
45 xtd::sptr<object> get_type_id() const noexcept override;
46
47 private:
48 string trademark_;
49 };
50 }
51}
52
54xtd::sptr<xtd::reflection::assembly_trademark_attribute>& __assembly_trademark_attribute__();
56
72#define assembly_trademark_(trademark) \
73 xtd::reflection::assembly_trademark_attribute __assembly_trademark_attribute {trademark, xtd::object()}
Represents the base class for custom attributes.
Definition attribute.h:25
Defines a trademark custom attribute for an assembly manifest.
Definition assembly_trademark_attribute.h:25
assembly_trademark_attribute(const string &trademark)
Initializes a new instance of the xtd::reflection::assembly_trademark_attribute class.
const string & trademark() const noexcept
Gets trademark information.
#define core_export_
Define shared library export.
Definition core_export.h:13
std::shared_ptr< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition sptr.h:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10