Sprache

BotConfigurationExtensions.IsProjectNameSpaceless Methode

Definition

Überprüfen Sie, ob der Name des Project Weiße Flächen 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

BotConfiguration-Objekt zum Erweitern.

folder
String

Der Pfad des Ordners zum Validieren.

Gibt zurück

Boolesch anzeigt, ob der Name eines Project raumlos ist.

Ausnahmen

Wird geworfen, wenn keine '.scproj'-Datei gefunden wird oder wenn es zwei oder mehr 'csproj'-Dateien gibt.

Wird geworfen, wenn der Param-'Ordner' null ist.

Gilt für: