ResourceProvider Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |