Name

IServiceProvider

Synopsis

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 method object GetService(Type serviceType);  
}

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.