ScrGen.Icon.IcoContainer.Validate C# (CSharp) Méthode

Validate() private méthode

private Validate ( ) : void
Résultat void
        private void Validate()
        {
            if (Directory == null)
                throw new InvalidOperationException("Directory is null");

            if (Images == null)
                throw new InvalidOperationException("Images are null");

            if (Directory.Entries.Length != Images.Length)
                throw new InvalidOperationException("Directory Entries count does not equal to Images count");
        }