|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CobaltSoftware.Foundation.ModelViewPresenter;
namespace ExampleProject.Contracts
{
/// <summary>
/// The IClockView represents some form of time-display
/// that shows the time, but also allows the user to change
/// the time-zone.
/// </summary>
/// <remarks>
/// <para>
/// <list>
/// <listheader>Version History</listheader>
/// <item>10 October, 2009 - Steve Gray - Initial Draft</item>
/// </list>
/// </para>
/// </remarks>
public interface IClockView : IView<IClockView, IClockPresenter>
{
/// <summary>
/// Data-push point for the list of time-zones to display
/// on the view.
/// </summary>
IEnumerable<TimeZoneInfo> TimeZones { set; }
/// <summary>
/// Data-push point for current time on the view.
/// </summary>
DateTime Time { set; }
/// <summary>
/// Selected time-zone
/// </summary>
TimeZoneInfo SelectedTimeZone { set; }
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Steve Gray is a Senior Developer at a British insurance company, working on a popular aggregator. When he's not writing ASP .NET, it's because there's SQL or WCF to write instead.