SavingTileTileCacheEventArgs¶
Namespace: ThinkGeo.Core
Provides data for tile-cache events raised before a tile is saved.
public class SavingTileTileCacheEventArgs : System.EventArgs
Inheritance object → EventArgs → SavingTileTileCacheEventArgs
Properties¶
Tile¶
Gets or sets the tile that is about to be saved.
public Tile Tile { get; set; }
Property Value¶
TileSource¶
Gets or sets an optional identifier for the target tile cache.
public string TileSource { get; set; }
Property Value¶
Cancel¶
Gets or sets a value indicating whether the save operation should be canceled.
public bool Cancel { get; set; }
Property Value¶
Constructors¶
SavingTileTileCacheEventArgs()¶
Initializes a new instance of the SavingTileTileCacheEventArgs class.
public SavingTileTileCacheEventArgs()
SavingTileTileCacheEventArgs(Tile, string)¶
Initializes a new instance of the SavingTileTileCacheEventArgs class with the supplied tile information.
public SavingTileTileCacheEventArgs(Tile tile, string tileSource)
Parameters¶
tile Tile
The tile that is about to be persisted.
tileSource string
An optional identifier describing which cache will store the tile.