Beispiel #1
0
        /// <summary>
        /// Whether the curent FileSystemManager can be used.
        /// </summary>
        /// <returns></returns>
        public ValidationResult Validate()
        {
            var ret = new ValidationResult();

            ret.AddIf(!Directory.Exists(this.Path), $"The supplied path: \"{Path}\" is invalid.");
            return(ret);
        }