summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-12-28 17:36:31 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-12-28 17:47:47 +0100
commit9b1cc1d80ac380ff5c02d8626c3fc7bc682d0d27 (patch)
tree4a0cdfee02846b27adf5de15edb5ec50297c2d3f
parentbcf80f287c446e3f7792c3fbac7c53c67128600a (diff)
efl-mono: automatic code refs for event wrappers docs
Summary: Event wrappers have a comment saying: ///<summary>Event argument wrapper for event XxxEvt</summary>" This patch simply adds a link to that comment: ///<summary>Event argument wrapper for event <see cref="Fully.Qualified.XxxEvt"/></summary>" Test Plan: Generate the C# files and enjoy fully-linked doc comments for event wrappers. Reviewers: lauromoura Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7525
-rw-r--r--src/bin/eolian_mono/eolian/mono/events.hh4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/events.hh b/src/bin/eolian_mono/eolian/mono/events.hh
index 426763626b..6e02765366 100644
--- a/src/bin/eolian_mono/eolian/mono/events.hh
+++ b/src/bin/eolian_mono/eolian/mono/events.hh
@@ -91,7 +91,9 @@ struct event_argument_wrapper_generator
91 return false; 91 return false;
92 } 92 }
93 93
94 return as_generator("///<summary>Event argument wrapper for event " << evt_name << ".</summary>\n" 94 return as_generator("///<summary>Event argument wrapper for event <see cref=\""
95 << join_namespaces(evt.klass.namespaces, '.', managed_namespace)
96 << klass_interface_name(evt.klass) << "." << evt_name << "\"/>.</summary>\n"
95 << "public class " << name_helpers::managed_event_args_short_name(evt) << " : EventArgs {\n" 97 << "public class " << name_helpers::managed_event_args_short_name(evt) << " : EventArgs {\n"
96 << scope_tab << "///<summary>Actual event payload.</summary>\n" 98 << scope_tab << "///<summary>Actual event payload.</summary>\n"
97 << scope_tab << "public " << arg_type << " arg { get; set; }\n" 99 << scope_tab << "public " << arg_type << " arg { get; set; }\n"