BotConfigurationExtensions.IsProjectNameSpaceless Method
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.
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.