Table of Contents

Class ResourceConfigurationCollection

Namespace
Bonsai.Resources
Assembly
Bonsai.System.dll

Represents an immutable collection of resources to be loaded into a resource manager.

public class ResourceConfigurationCollection : IEnumerable<IResourceConfiguration>, IEnumerable
Inheritance
ResourceConfigurationCollection
Implements
Inherited Members

Constructors

ResourceConfigurationCollection(ResourceManager, IEnumerable<IResourceConfiguration>)

Initializes a new instance of the ResourceConfigurationCollection class using the specified resource manager and a set of resources to load.

Properties

ResourceManager

Gets the resource manager object into which the resources will be loaded.

Methods

Add(IResourceConfiguration)

Creates a new collection of resources to be loaded into the resource manager by appending a new resource to the end of this collection.

AddRange(IEnumerable<IResourceConfiguration>)

Creates a new collection of resources to be loaded into the resource manager by appending a new set of resources to the end of this collection.

GetEnumerator()

Returns an enumerator that iterates through the collection.