This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Translator; | |
public static class QueryableExtensions | |
{ | |
public static IQueryable<T> AsTranslatable<T>(this IQueryable<T> source) | |
{ | |
if (source is TranslatableQuery<T> query) | |
return query; | |
return new TranslatableQueryProvider(source.Provider).CreateQuery<T>(source.Expression); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.packagemanager.poc" | |
android:versionCode="1" | |
android:versionName="1.0" > | |
<uses-sdk android:minSdkVersion="8" /> | |
<uses-permission android:name="android.permission.INSTALL_PACKAGES" /> | |
<uses-permission android:name="android.permission.DELETE_PACKAGES" /> |