summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eina_mono/eina_list.cs
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2018-05-18 00:50:37 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2018-05-23 18:59:26 -0300
commitcfafd01bbe27bab90117e1a8d97fdace55b47944 (patch)
treee1a147a863c0fc88a80d992196c1e29591921a96 /src/bindings/mono/eina_mono/eina_list.cs
parent2bbaada66eb0ea78b5d0a3a72d9720f55621a5ab (diff)
efl_mono: Initial support for Accessors.
Summary: Plain conversion to IEnumerable, which is the base of LINQ Depends on D6189 Reviewers: felipealmeida, vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6190
Diffstat (limited to 'src/bindings/mono/eina_mono/eina_list.cs')
-rw-r--r--src/bindings/mono/eina_mono/eina_list.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bindings/mono/eina_mono/eina_list.cs b/src/bindings/mono/eina_mono/eina_list.cs
index cef766f..e31a8ff 100644
--- a/src/bindings/mono/eina_mono/eina_list.cs
+++ b/src/bindings/mono/eina_mono/eina_list.cs
@@ -349,6 +349,12 @@ public class List<T> : IEnumerable<T>, IDisposable
349 { 349 {
350 return this.GetEnumerator(); 350 return this.GetEnumerator();
351 } 351 }
352
353 /// <summary> Gets an Accessor for this List.</summary>
354 public eina.Accessor<T> GetAccessor()
355 {
356 return new eina.Accessor<T>(eina_list_accessor_new(Handle), Ownership.Managed);
357 }
352} 358}
353 359
354} 360}