Exemplo n.º 1
0
        /// <summary>
        /// Method to initialize SQLite.Net with the platform it is used with.
        /// </summary>
        /// <param name="platform"></param>
        public static void SetPlatform(ISQLitePlatform platform)
        {
            if (platform == null)
            {
                throw new ArgumentNullException(nameof(platform));
            }

            MbTilesCache.SetPlatform(platform);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Method to initialize SQLite.Net with the platform it is used with.
        /// </summary>
        /// <param name="platform"></param>
        public static void SetPlatform(ISQLitePlatform platform)
        {
            if (platform == null)
            {
                throw new ArgumentNullException("platform");
            }

            MbTilesCache.SetConnectionPool(new SQLiteConnectionPool(platform));
        }
Exemplo n.º 3
0
 public MbTilesProvider(SQLiteConnection connection, ITileSchema schema = null, MbTilesType type = MbTilesType.None)
 {
     _cache = new MbTilesCache(connection, schema, type);
 }
Exemplo n.º 4
0
 public MbTilesProvider(SqliteConnection connection, ITileSchema schema = null, MbTilesType type = MbTilesType.None)
 {
     _cache = new MbTilesCache(connection, schema, type);
 }
Exemplo n.º 5
0
 internal MbTilesProvider(SQLiteConnectionString connectionString, ITileSchema schema = null, MbTilesType type = MbTilesType.None)
 {
     _cache = new MbTilesCache(connectionString, schema, type);
 }
Exemplo n.º 6
0
 internal MbTilesProvider(SQLiteConnectionString connectionString, ITileSchema schema = null, MbTilesType type = MbTilesType.None)
 {
     _cache = new MbTilesCache(connectionString, schema, type);
 }