Octopus.Client.Model.Versioning.StrictSemanticVersion.IsValid C# (CSharp) Méthode

IsValid() static private méthode

static private IsValid ( string s, bool allowLeadingZeros ) : bool
s string
allowLeadingZeros bool
Résultat bool
        internal static bool IsValid(string s, bool allowLeadingZeros)
        {
            return s.Split('.').All(p => IsValidPart(p, allowLeadingZeros));
        }