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 ); } |