BotConfigurationExtensions.IsProjectNameSpaceless Methode

Definitie

Controleer of de projectnaam spaties bevat.

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 dat moet worden uitgebreid.

folder
String

Het pad van de map dat moet worden gevalideerd.

Retouren

Booleaanse waarde die aangeeft of de naam van een project ruimteloos is.

Uitzonderingen

Wordt gegenereerd wanneer er geen .scproj-bestand wordt gevonden of wanneer er twee of meer csproj-bestanden zijn.

Gegenereerd wanneer parameter 'map' null is.

Van toepassing op