ATMLModelLibrary.model.Confidence.Validate C# (CSharp) Méthode

Validate() public méthode

public Validate ( ) : void
Résultat void
        public void Validate()
        {
            Regex regex = new Regex( PATTERN );
            if( !regex.Match( ToString() ).Success )
                throw new Exception( string.Format("Invalid Confidence - {0}", ToString()));
        }