summaryrefslogtreecommitdiff
path: root/reference/csharp/eina/src/eina_list.cs
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2018-11-06 10:39:14 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2018-12-19 16:51:15 +0100
commitd74a4df9946b69f769cd0ad40d4414c90d19a515 (patch)
tree7d4de6983ac9b319085fd84f559d2f592fc215b3 /reference/csharp/eina/src/eina_list.cs
parent656b746be7ffb834a31d0a693071f9eebba186c6 (diff)
csharp examples: Adapt to new classes syntax
Summary: Mainly use PascalCase Namespaces and Classes and proper event names. Test Plan: Check all examples still build. Reviewers: lauromoura, vitor.sousa, felipealmeida, bu5hm4n Reviewed By: bu5hm4n Differential Revision: https://phab.enlightenment.org/D7479
Diffstat (limited to 'reference/csharp/eina/src/eina_list.cs')
-rw-r--r--reference/csharp/eina/src/eina_list.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/reference/csharp/eina/src/eina_list.cs b/reference/csharp/eina/src/eina_list.cs
index b1ddfef..ecdf7d3 100644
--- a/reference/csharp/eina/src/eina_list.cs
+++ b/reference/csharp/eina/src/eina_list.cs
@@ -2,7 +2,7 @@
2/* 2/*
3 * Eina List examples. 3 * Eina List examples.
4 * 4 *
5 * These examples demonstrate how to work with eina_list data and methods. 5 * These examples demonstrate how to work with Eina_list data and methods.
6 * We create a simple list of names by appending strings to an empty list 6 * We create a simple list of names by appending strings to an empty list
7 * and then run various mutations and print each result. 7 * and then run various mutations and print each result.
8 */ 8 */
@@ -12,9 +12,9 @@ using System.Linq;
12 12
13public class Example 13public class Example
14{ 14{
15 static eina.List<string> CreateList() 15 static Eina.List<string> CreateList()
16 { 16 {
17 var list = new eina.List<string>(); 17 var list = new Eina.List<string>();
18 18
19 list.Append("Adama"); 19 list.Append("Adama");
20 list.Append("Baltar"); 20 list.Append("Baltar");
@@ -25,7 +25,7 @@ public class Example
25 25
26 public static void Main() 26 public static void Main()
27 { 27 {
28 efl.All.Init(); 28 Efl.All.Init();
29 29
30 var list = CreateList(); 30 var list = CreateList();
31 31
@@ -66,6 +66,6 @@ public class Example
66 66
67 list.Dispose(); 67 list.Dispose();
68 68
69 efl.All.Shutdown(); 69 Efl.All.Shutdown();
70 } 70 }
71} 71}