|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CobaltSoftware.Foundation.ModelViewPresenter
{
/// <summary>
/// The PresenterEvent delegate defines a connection/view management related event on
/// a presenter class. For example, BeforeViewRegister, AfterViewRegister and other
/// events fire that pass these delegates around to indicate state.
/// </summary>
/// <remarks>
/// <para>
/// <list>
/// <listheader>Version History</listheader>
/// <item>7 October, 2009 - Steve Gray - Initial Draft</item>
/// </list>
/// </para>
/// </remarks>
/// <typeparam name="TViewContract">View Contract</typeparam>
/// <typeparam name="TPresenterContract">Presenter contract</typeparam>
/// <param name="sender">Presenter that is experiencing the event</param>
/// <param name="view">View that is the subject of the event.</param>
public delegate void PresenterEvent<TViewContract, TPresenterContract>(TPresenterContract sender, TViewContract view);
}
|
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.