コード例 #1
0
        public static async Task <TileSetReader> CreateFromTileSetPackage(ITileSetPackageContent package)
        {
            var reader = new TileSetReader(await LoadTileSetAsync(package.TileSet));
            await reader.LoadAsync();

            return(reader);
        }
コード例 #2
0
 public static async Task<TileSetReader> CreateFromTileSetPackage(ITileSetPackageContent package)
 {
     var reader = new TileSetReader(await LoadTileSetAsync(package.TileSet));
     await reader.LoadAsync();
     return reader;
 }