Export (0) Print
Expand All

ResourceContentManager Constructor

Creates a new instance of ResourceContentManager.

Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public ResourceContentManager (
         IServiceProvider serviceProvider,
         ResourceManager resourceManager
)

Parameters

serviceProvider
The service provider the ContentManager should use to locate services.
resourceManager
The resource manager for the ResourceContentManager to read from.

Exception typeCondition
ArgumentNullException resourceManager is null.

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2014 Microsoft