Jaa


BotConfigurationExtensions.IsProjectNameSpaceless Method

Definition

Check if the Project's Name contains white spaces.

public static bool IsProjectNameSpaceless (this Microsoft.Bot.Configuration.BotConfiguration botConfiguration, string folder);
static member IsProjectNameSpaceless : Microsoft.Bot.Configuration.BotConfiguration * string -> bool
<Extension()>
Public Function IsProjectNameSpaceless (botConfiguration As BotConfiguration, folder As String) As Boolean

Parameters

botConfiguration
BotConfiguration

BotConfiguration object to extend.

folder
String

Folder's path to validate.

Returns

Boolean that indicates if a Project's Name is spaceless.

Exceptions

Thrown when no '.scproj' file is found or when there are two or more 'csproj' files.

Thrown when param 'folder' is null.

Applies to