2 namespace System.Activities.Presentation {
7 /// A delegate that is called back when an object should publish an instance of a
10 /// <param name="serviceType">The type of service to be published.</param>
11 /// <returns>An instance of serviceType.</returns>
12 public delegate object PublishServiceCallback(Type serviceType);
15 /// A generic delegate that is called back when an object should publish an
16 /// instance of a service.
18 /// <typeparam name="TServiceType">The type of service to be published.</typeparam>
19 /// <returns>An instance of TServiceType.</returns>
20 public delegate TServiceType PublishServiceCallback<TServiceType>();