Merge branch 'alexischr/nursery-canaries-managed-alloc'
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / Base / Core / SubscribeContextCallback.cs
1 
2
3 namespace System.Activities.Presentation {
4
5     using System;
6
7     /// <summary>
8     /// Defines a callback method that will be invoked when a context item
9     /// changes.
10     /// </summary>
11     /// <param name="item">The context item that has changed.</param>
12     public delegate void SubscribeContextCallback(ContextItem item);
13
14     /// <summary>
15     /// Defines a callback method that will be invoked when a context item
16     /// changes.
17     /// </summary>
18     /// <typeparam name="TContextItemType">The type of context item this subscription is for.</typeparam>
19     /// <param name="item">The context item that has changed.</param>
20     public delegate void SubscribeContextCallback<TContextItemType>(
21         TContextItemType item) where TContextItemType : ContextItem;
22
23 }