Octopus.Client.Model.Versioning.StrictSemanticVersion.IsValid C# (CSharp) Method

IsValid() static private method

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