Example #1
0
        public bool IsValid()
        {
            if (Logging != null)
            {
                switch (Logging)
                {
                case "compact":
                case "verbose":
                    break;

                default:
                    return(false);
                }
            }

            switch (Command)
            {
            case "download":
                return(DownloadOption.IsValid(this));

            case "seed":
                return(SeedOption.IsValid(this));
            }

            return(false);
        }