summaryrefslogtreecommitdiff
path: root/src/lib/efl_mono
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-10-08 10:04:57 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-08 10:24:17 +0200
commit4867c4bdaf3fd2bef2d46b1e3bc872768431a0ea (patch)
treefe600096a82341f64dbdb9e157be80791713f9db /src/lib/efl_mono
parent4457a93ae51c62ae50b73090d29291ce6a3e8e77 (diff)
csharp: Add some docs to MVVM infrastructure
Reviewers: SanghyeonLee, felipealmeida, cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10301
Diffstat (limited to 'src/lib/efl_mono')
-rw-r--r--src/lib/efl_mono/efl_mono_model_internal.eo12
-rw-r--r--src/lib/efl_mono/efl_mono_model_internal_child.eo4
2 files changed, 14 insertions, 2 deletions
diff --git a/src/lib/efl_mono/efl_mono_model_internal.eo b/src/lib/efl_mono/efl_mono_model_internal.eo
index 3a639defe7..71b331378b 100644
--- a/src/lib/efl_mono/efl_mono_model_internal.eo
+++ b/src/lib/efl_mono/efl_mono_model_internal.eo
@@ -1,10 +1,18 @@
1class @beta Efl.Mono_Model_Internal extends Efl.Loop_Consumer implements Efl.Model 1class @beta Efl.Mono_Model_Internal extends Efl.Loop_Consumer implements Efl.Model
2{ 2{
3 [[Internal @Efl.Model implementation for the root models in C# MVVM infrastructure.
4
5 This represents the root model, containing @Efl.Mono_Model_Internal_Child elements. It is inherited from classes
6 like the C#-only Efl.UserModel<T>, which the end user will actually instantiate.
7 ]]
3 methods { 8 methods {
4 add_property { 9 add_property {
10 [[Adds a new property to the wrapped children models.
11
12 When adding new children models, these children will have the properties that were added from this method.]]
5 params { 13 params {
6 @in name: string; 14 @in name: string; [[Name of the property being added.]]
7 @in type: ptr(const(Eina.Value_Type)); 15 @in type: ptr(const(Eina.Value_Type)); [[Type of the property being added, as an @Eina.Value_Type.]]
8 } 16 }
9 } 17 }
10 } 18 }
diff --git a/src/lib/efl_mono/efl_mono_model_internal_child.eo b/src/lib/efl_mono/efl_mono_model_internal_child.eo
index eebb79794c..b8bf3ac1be 100644
--- a/src/lib/efl_mono/efl_mono_model_internal_child.eo
+++ b/src/lib/efl_mono/efl_mono_model_internal_child.eo
@@ -1,5 +1,9 @@
1class @beta Efl.Mono_Model_Internal_Child extends Efl.Loop_Consumer implements Efl.Model 1class @beta Efl.Mono_Model_Internal_Child extends Efl.Loop_Consumer implements Efl.Model
2{ 2{
3 [[Internal @Efl.Model implementation for the actual model data contained in a root @Efl.Mono_Model_Internal.
4
5 This model's properties are added through C# reflection on the user-provided model through Efl.GenericModel<T>.
6 ]]
3 implements { 7 implements {
4 Efl.Object.constructor; 8 Efl.Object.constructor;
5 Efl.Object.destructor; 9 Efl.Object.destructor;