FolderResourceProviderExtensions.AddFolders Method

Definition

Add folder resources.

public static Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer AddFolders (this Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer explorer, string folder, string[] ignoreFolders = default, bool monitorChanges = true);
static member AddFolders : Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer * string * string[] * bool -> Microsoft.Bot.Builder.Dialogs.Declarative.Resources.ResourceExplorer
<Extension()>
Public Function AddFolders (explorer As ResourceExplorer, folder As String, Optional ignoreFolders As String() = Nothing, Optional monitorChanges As Boolean = true) As ResourceExplorer

Parameters

explorer
ResourceExplorer

The ResourceExplorer for this extension method.

folder
String

Collection of folders to include as resources.

ignoreFolders
String[]

Immediate sub-folders to ignore.

monitorChanges
Boolean

Whether to track changes.

Returns

The resource explorer.

Applies to