[reflection] Coop handles icalls in System.Reflection and System.RuntimeTypeHandle...
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / Base / Core / PublishServiceCallback.cs
1 
2 namespace System.Activities.Presentation {
3
4     using System;
5
6     /// <summary>
7     /// A delegate that is called back when an object should publish an instance of a
8     /// service.
9     /// </summary>
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);
13
14     /// <summary>
15     /// A generic delegate that is called back when an object should publish an 
16     /// instance of a service.
17     /// </summary>
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>();
21 }