2 namespace System.Activities.Presentation {
7 /// A delegate that is a callback for service subscriptions.
9 /// <param name="serviceType">The type of service that has just been published.</param>
10 /// <param name="serviceInstance">The instance of the service.</param>
11 public delegate void SubscribeServiceCallback(Type serviceType, object serviceInstance);
14 /// A generic delegate that is a callback for service subscriptions
16 /// <typeparam name="TServiceType">The type of service to listen to.</typeparam>
17 /// <param name="serviceInstance">The instance of the service.</param>
18 public delegate void SubscribeServiceCallback<TServiceType>(TServiceType serviceInstance);