Dev2.Scheduler.DirectoryHelper.CreateIfNotExists C# (CSharp) Method

CreateIfNotExists() public method

public CreateIfNotExists ( string debugOutputPath ) : string
debugOutputPath string
return string
        public string CreateIfNotExists(string debugOutputPath)
        {
            if(!Directory.Exists(debugOutputPath))
            {
                return Directory.CreateDirectory(debugOutputPath).Name;
            }

            return debugOutputPath;
        }
    }