summaryrefslogtreecommitdiff
path: root/src/bin/eolian_mono/eolian/mono/klass.hh
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-08-05 10:17:52 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-05 10:18:18 -0400
commit40def3eac914138189163a895527705a1ffefcfd (patch)
treee77fc891713de50ca312b080474260d34d7d36df /src/bin/eolian_mono/eolian/mono/klass.hh
parent7c72f101532d61b00cd483b89ef86830526a82ba (diff)
efl-mono: Add Model manual implementation to C# and MVVM factories
Summary: Depends on D9273, D9270 Test Plan: Run added testcases. Reviewers: cedric, bu5hm4n, zmike, SanghyeonLee, felipealmeida, segfaultxavi Reviewed By: cedric Subscribers: cedric Tags: #expertise_solutions, #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D8080
Diffstat (limited to 'src/bin/eolian_mono/eolian/mono/klass.hh')
-rw-r--r--src/bin/eolian_mono/eolian/mono/klass.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/klass.hh b/src/bin/eolian_mono/eolian/mono/klass.hh
index 80d4deb..f118dea 100644
--- a/src/bin/eolian_mono/eolian/mono/klass.hh
+++ b/src/bin/eolian_mono/eolian/mono/klass.hh
@@ -348,6 +348,16 @@ struct klass
348 if(!name_helpers::close_namespaces(sink, cls.namespaces, context)) 348 if(!name_helpers::close_namespaces(sink, cls.namespaces, context))
349 return false; 349 return false;
350 350
351 if(!as_generator
352 (lit("#pragma warning disable CS1591\n") // Disabling warnings as DocFx will hide these classes
353 <<"public static class " << (string % "_") << name_helpers::klass_inherit_name(cls)
354 << "_ExtensionMethods {\n"
355 << *((scope_tab << property_extension_method_definition(cls)) << "\n")
356 << "}\n"
357 << lit("#pragma warning restore CS1591\n"))
358 .generate(sink, std::make_tuple(cls.namespaces, cls.properties), context))
359 return false;
360
351 return true; 361 return true;
352 } 362 }
353 363