Share via


ResourceProvider Class

Definition

Interface for looking up a resource by id.

public abstract class ResourceProvider
type ResourceProvider = class
Public MustInherit Class ResourceProvider
Inheritance
ResourceProvider
Derived

Constructors

ResourceProvider(ResourceExplorer)

Initializes a new instance of the ResourceProvider class.

Properties

Id

Gets or sets id for the resource provider.

ResourceExplorer

Gets the resource Explorer.

Methods

GetResources(String)

enumerate resources.

OnChanged(IEnumerable<Resource>)

Actions to perform when the current object is changed.

Refresh()

Refresh any cached resources.

TryGetResource(String, Resource)

Get resource by id.

Events

Changed

Event which is fired if any resource managed by the resource provider detects changes to the underlining resource.

Applies to