PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/Main/src/DynamicDataDisplay.Maps/Servers/FileServers/EmptyWriteableTileServer.cs

#
C# | 33 lines | 26 code | 5 blank | 2 comment | 0 complexity | 8e7fba18ad02ad9a30e4ce0a0d1ec031 MD5 | raw file
 1using System;
 2using System.Collections.Generic;
 3using System.Linq;
 4using System.Text;
 5using Microsoft.Research.DynamicDataDisplay.Charts.Maps;
 6using System.Windows.Media.Imaging;
 7using System.Windows.Media;
 8using System.IO;
 9
10namespace Microsoft.Research.DynamicDataDisplay.Maps.Servers
11{
12	public class EmptyWriteableTileServer : EmptyTileServer, ITileStore, IWriteableTileServer
13	{
14		#region ITileStore Members
15
16		protected override string GetCustomName()
17		{
18			return "Empty writeable";
19		}
20
21		public void BeginSaveImage(TileIndex id, BitmapSource image, Stream stream)
22		{
23			// do nothing
24		}
25
26        public void Clear()
27        {
28            // do nothing
29        }
30
31        #endregion
32    }
33}