File: cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\SubscribeContextCallback.cs
Project: ndp\System.Data.csproj (System.Data)

 
namespace System.Activities.Presentation {
 
    using System;
 
    /// <summary>
    /// Defines a callback method that will be invoked when a context item
    /// changes.
    /// </summary>
    /// <param name="item">The context item that has changed.</param>
    public delegate void SubscribeContextCallback(ContextItem item);
 
    /// <summary>
    /// Defines a callback method that will be invoked when a context item
    /// changes.
    /// </summary>
    /// <typeparam name="TContextItemType">The type of context item this subscription is for.</typeparam>
    /// <param name="item">The context item that has changed.</param>
    public delegate void SubscribeContextCallback<TContextItemType>(
        TContextItemType item) where TContextItemType : ContextItem;
 
}