using System; using System.Runtime.InteropServices; namespace System.ComponentModel.Design { /// Provides a callback mechanism that can create an instance of a service on demand. /// The service specified by , or null if the service could not be created. /// The service container that requested the creation of the service. /// The type of service to create. // Token: 0x02000320 RID: 800 // (Invoke) Token: 0x06001C59 RID: 7257 [ComVisible(true)] public delegate object ServiceCreatorCallback(IServiceContainer container, Type serviceType); }