Share via


ChildServiceProvider Class

Definition

An IServiceProvider implementation that inherits services from another.

public class ChildServiceProvider : IServiceProvider
type ChildServiceProvider = class
    interface IServiceProvider
Public Class ChildServiceProvider
Implements IServiceProvider
Inheritance
ChildServiceProvider
Implements

Constructors

ChildServiceProvider()

Initializes a new instance of the ChildServiceProvider class.

ChildServiceProvider(IServiceProvider)

Initializes a new instance of the ChildServiceProvider class.

Methods

AddService(Type, Object)

Adds a service to the service provider.

GetService(Type)

Gets the service object of the specified type.

Applies to