Freigeben über


BotConfigurationExtensions.IsProjectNameSpaceless Methode

Definition

Überprüfen Sie, ob der Projektname Leerzeichen enthält.

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

Parameter

botConfiguration
BotConfiguration

Zu erweiternde BotConfiguration-Objekt.

folder
String

Der zu überprüfende Pfad des Ordners.

Gibt zurück

Boolesch, der angibt, ob der Name eines Projekts leer ist.

Ausnahmen

Wird ausgelöst, wenn keine ".scproj"-Datei gefunden wird oder wenn zwei oder mehr "csproj"-Dateien vorhanden sind.

Wird ausgelöst, wenn "ordner" null ist.

Gilt für: