C # in a Nutshell, Second Edition

IServiceProvider CF 1.0

System (mscorlib.dll) interface

This interface defines a mechanism for retrieving a service object. A class implementing this interface provides a service object to other objects through its GetService( ) method.

public interface IServiceProvider { // Public Instance Methods public object GetService (Type serviceType ); }

Категории