FolderResourceProvider 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.
Class which gives ResourceExplorer access to resources which are stored in file system.
public class FolderResourceProvider : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceProvider, IDisposable
type FolderResourceProvider = class
inherit ResourceProvider
interface IDisposable
Public Class FolderResourceProvider
Inherits ResourceProvider
Implements IDisposable
- Inheritance
- Implements
Constructors
FolderResourceProvider(ResourceExplorer, String, Boolean, Boolean) |
Initializes a new instance of the FolderResourceProvider class. |
Properties
Directory |
Gets or sets folder to enumerate. |
Id |
Gets or sets id for the resource provider. (Inherited from ResourceProvider) |
IncludeSubFolders |
Gets or sets a value indicating whether to include subfolders. |
ResourceExplorer |
Gets the resource Explorer. (Inherited from ResourceProvider) |
Methods
Dispose() |
Disposes the object instance a releases any related objects owned by the class. |
Dispose(Boolean) |
Disposes objected used by the class. |
GetResources(String) |
Get Resources by extension. |
OnChanged(IEnumerable<Resource>) |
Actions to perform when the current object is changed. (Inherited from ResourceProvider) |
Refresh() |
Refresh any cached content and look for new content. |
ToString() |
Returns a string that represents the current object. |
TryGetResource(String, Resource) |
GetResource by id. |
Events
Changed |
Event which is fired if any resource managed by the resource provider detects changes to the underlining resource. (Inherited from ResourceProvider) |