Changeset View
Changeset View
Standalone View
Standalone View
src/bindings/mono/efl_mono/GenericModel.cs
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 14 | { | |||
---|---|---|---|---|---|
120 | 120 | | |||
121 | /// <summary>Async wrapper around <see cref="GetChildrenSlice(uint, uint)" />.</summary> | 121 | /// <summary>Async wrapper around <see cref="GetChildrenSlice(uint, uint)" />.</summary> | ||
122 | public System.Threading.Tasks.Task<Eina.Value> GetChildrenSliceAsync( uint start, uint count, System.Threading.CancellationToken token=default(System.Threading.CancellationToken)) | 122 | public System.Threading.Tasks.Task<Eina.Value> GetChildrenSliceAsync( uint start, uint count, System.Threading.CancellationToken token=default(System.Threading.CancellationToken)) | ||
123 | { | 123 | { | ||
124 | return model.GetChildrenSliceAsync(start, count, token); | 124 | return model.GetChildrenSliceAsync(start, count, token); | ||
125 | } | 125 | } | ||
126 | 126 | | |||
127 | /// <summary>Event triggered when properties on the wrapped model changes.</summary> | 127 | /// <summary>Event triggered when properties on the wrapped model changes.</summary> | ||
128 | public event EventHandler<Efl.IModelPropertiesChangedEventArgs> PropertiesChangedEvent | 128 | public event EventHandler<Efl.ModelPropertiesChangedEventArgs> PropertiesChangedEvent | ||
129 | { | 129 | { | ||
130 | add { | 130 | add { | ||
131 | model.PropertiesChangedEvent += value; | 131 | model.PropertiesChangedEvent += value; | ||
132 | } | 132 | } | ||
133 | remove { | 133 | remove { | ||
134 | model.PropertiesChangedEvent -= value; | 134 | model.PropertiesChangedEvent -= value; | ||
135 | } | 135 | } | ||
136 | } | 136 | } | ||
137 | 137 | | |||
138 | /// <summary>Event triggered when a child is added from the wrapped model.</summary> | 138 | /// <summary>Event triggered when a child is added from the wrapped model.</summary> | ||
139 | public event EventHandler<Efl.IModelChildAddedEventArgs> ChildAddedEvent | 139 | public event EventHandler<Efl.ModelChildAddedEventArgs> ChildAddedEvent | ||
140 | { | 140 | { | ||
141 | add { | 141 | add { | ||
142 | model.ChildAddedEvent += value; | 142 | model.ChildAddedEvent += value; | ||
143 | } | 143 | } | ||
144 | remove { | 144 | remove { | ||
145 | model.ChildAddedEvent -= value; | 145 | model.ChildAddedEvent -= value; | ||
146 | } | 146 | } | ||
147 | } | 147 | } | ||
148 | 148 | | |||
149 | /// <summary>Event triggered when a child is removed from the wrapped model.</summary> | 149 | /// <summary>Event triggered when a child is removed from the wrapped model.</summary> | ||
150 | public event EventHandler<Efl.IModelChildRemovedEventArgs> ChildRemovedEvent | 150 | public event EventHandler<Efl.ModelChildRemovedEventArgs> ChildRemovedEvent | ||
151 | { | 151 | { | ||
152 | add { | 152 | add { | ||
153 | model.ChildRemovedEvent += value; | 153 | model.ChildRemovedEvent += value; | ||
154 | } | 154 | } | ||
155 | remove { | 155 | remove { | ||
156 | model.ChildRemovedEvent -= value; | 156 | model.ChildRemovedEvent -= value; | ||
157 | } | 157 | } | ||
158 | } | 158 | } | ||
Show All 16 Lines |