Container class implements the IServiceProvider interface. This is used to pass shared services between different components, for instance the ContentManager uses it to locate the IGraphicsDeviceService implementation.

Namespace:  Bespoke.Common
Assembly:  Bespoke.Common (in Bespoke.Common.dll) Version: 4.3.0.0 (4.3.0.0)

Syntax

C#
public class ServiceContainer : IServiceProvider
Visual Basic (Declaration)
Public Class ServiceContainer _
	Implements IServiceProvider
Visual C++
public ref class ServiceContainer : IServiceProvider

Inheritance Hierarchy

System..::.Object
  Bespoke.Common..::.ServiceContainer

See Also