Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
Scenarioo
Model
Docu
Entities
Labels
IsValidLabel
Scenarioo.Model.Docu.Entities.Labels.IsValidLabel C# (CSharp) Method
Labels Class Documentation
Exibir arquivo
Open project: scenarioo/scenarioo-cs
IsValidLabel()
public
static
method
Validates a label for validity. A label must only contain letters, numbers and/or '_', '-'
public
static
IsValidLabel
(
string
label
) :
bool
label
string
return
bool
public static bool IsValidLabel(string label) { return Regex.IsMatch(label, "^[ a-zA-Z0-9_-]+$"); }
Labels
AddLabel
AddLabels
GetSchema
IsValidLabel
ReadXml
WriteXml