Table of Contents

Class ResourceConfiguration<TResource>

Namespace
Bonsai.Resources
Assembly
Bonsai.System.dll

Provides the abstract base class for configuring and loading specific resources.

public abstract class ResourceConfiguration<TResource> : IResourceConfiguration where TResource : IDisposable

Type Parameters

TResource

The type of the resource.

Inheritance
ResourceConfiguration<TResource>
Implements
Derived
Inherited Members

Properties

Name

Gets or sets the name of the resource.

Methods

CreateResource(ResourceManager)

When overridden in a derived class, creates a new resource of type TResource.

OpenResource(string)

Opens a stream for reading the specified resource.

ToString()

Returns a string that represents the current object.