//------------------------------------------------------------------------------ // // Copyright (c) Microsoft Corporation. All rights reserved. // //------------------------------------------------------------------------------ /* */ namespace System.ComponentModel.Design { using System; using System.Security.Permissions; /// /// Declares a callback function to create an instance of a service on demand. /// [HostProtection(SharedState = true)] [System.Runtime.InteropServices.ComVisible(true)] public delegate object ServiceCreatorCallback(IServiceContainer container, Type serviceType); }