| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- // System.ComponentModel.Design.IServiceContainer.cs
- //
- // Author:
- // Alejandro Sánchez Acosta <[email protected]>
- //
- // (C) Alejandro Sánchez Acosta
- //
- using System.Runtime.InteropServices;
- namespace System.ComponentModel.Design
- {
- [ComVisible(true)]
- public interface IServiceContainer : IServiceProvider
- {
- void AddService(
- Type serviceType,
- object serviceInstance
- );
- void AddService(
- Type serviceType,
- ServiceCreatorCallback callback
- );
- void AddService(
- Type serviceType,
- object serviceInstance,
- bool promote
- );
- void AddService(
- Type serviceType,
- ServiceCreatorCallback callback,
- bool promote
- );
- void RemoveService(
- Type serviceType
- );
- void RemoveService(
- Type serviceType,
- bool promote
- );
- }
- }
|