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

Name Description
ResourceProvider(ResourceExplorer)

Initializes a new instance of the ResourceProvider class.

Properties

Name Description
Id

Gets or sets id for the resource provider.

ResourceExplorer

Gets the resource Explorer.

Methods

Name Description
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

Name Description
Changed

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

Applies to