using System; using System.Windows; namespace Microsoft.Research.DynamicDataDisplay.DataSources { public interface IPointEnumerator : IDisposable { /// Move to next point in sequence /// True if successfully moved to next point /// or false if end of sequence is reached bool MoveNext(); /// Stores current value(s) in given point. /// Reference to store value /// Depending on implementing class this method may set only X or Y /// fields in specified point. That's why GetCurrent is a regular method and /// not a property as in standard enumerators void GetCurrent(ref Point p); void ApplyMappings(DependencyObject target); } }