Ejemplo n.º 1
0
        internal void Foreach(Action <PlaceHandle> action)
        {
            PlaceCallback callback = (index, handle, userData) =>
            {
                action(PlaceHandle.CloneFrom(handle));
                return(true);
            };

            Foreach(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get place list from native handle");
        }
Ejemplo n.º 2
0
 internal static extern ErrorCode Foreach(IntPtr /* maps_place_list_h */ placeList, PlaceCallback callback, IntPtr /* void */ userData);