using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
namespace Microsoft.Research.DynamicDataDisplay.DataSources.MultiDimensional
{
///
/// Defines empty two-dimensional data source.
///
///
public sealed class EmptyDataSource2D : IDataSource2D where T : struct
{
#region IDataSource2D Members
private T[,] data = new T[0, 0];
public T[,] Data
{
get { return data; }
}
private Point[,] grid = new Point[0, 0];
public Point[,] Grid
{
get { return grid; }
}
public int Width
{
get { return 0; }
}
public int Height
{
get { return 0; }
}
private void RaiseChanged()
{
if (Changed != null)
{
Changed(this, EventArgs.Empty);
}
}
public event EventHandler Changed;
#endregion
#region IDataSource2D Members
public Microsoft.Research.DynamicDataDisplay.Charts.Range? Range
{
get { throw new NotImplementedException(); }
}
public T? MissingValue
{
get { throw new NotImplementedException(); }
}
#endregion
#region IDataSource2D Members
public IDataSource2D GetSubset(int x0, int y0, int countX, int countY, int stepX, int stepY)
{
throw new NotImplementedException();
}
#endregion
}
}