コード例 #1
0
ファイル: Interop.Place.cs プロジェクト: yunmiha/TizenFX
        internal void ForeachEditorial(Action <PlaceEditorialHandle> action)
        {
            // PlaceEditorialHandle is valid only in this callback and users should not keep its reference
            EditorialsCallback callback = (index, total, handle, userData) =>
            {
                action(new PlaceEditorialHandle(handle, true));
                return(true);
            };

            ForeachEditorial(handle, callback, IntPtr.Zero).WarnIfFailed("Failed to get editorial list from native handle");
        }
コード例 #2
0
ファイル: Interop.Place.cs プロジェクト: yunmiha/TizenFX
 internal static extern ErrorCode ForeachEditorial(IntPtr /* maps_place_h */ place, EditorialsCallback callback, IntPtr /* void */ userData);