BlogEngine.Core.Providers.XmlFileSystemProvider.CreateDirectory C# (CSharp) Method

CreateDirectory() private method

Creates a directory at a specific path
Virtual path is the path starting from the /files/ containers The entity is created against the current blog id
private CreateDirectory ( string VirtualPath ) : FileSystem.Directory
VirtualPath string The virtual path to be created
return FileSystem.Directory
        internal override FileSystem.Directory CreateDirectory(string VirtualPath)
        {
            VirtualPath = RelativeFilePath(VirtualPath);
            var aPath = BlogAbsolutePath(VirtualPath);
            if (!this.DirectoryExists(VirtualPath))
                Directory.CreateDirectory(aPath);
            return GetDirectory(VirtualPath);
        }