private object ExecuteCreateDirCommand(IDictionary <string, object> args) { FileItemPathInfo pathInfoParam = GetPathInfoParam("pathInfo", args); string commandParam = GetCommandParam("name", args); FileSystemProvider.CreateDirectory(pathInfoParam, commandParam); return(null); }
/// <summary> /// Creates a directory at a specific path /// </summary> /// <param name="VirtualPath">The virtual path to be created</param> /// <returns>the new Directory object created</returns> /// <remarks> /// Virtual path is the path starting from the /files/ containers /// The entity is created against the current blog id /// </remarks> public static Directory CreateDirectory(string VirtualPath) { return(FileSystemProvider.CreateDirectory(VirtualPath)); }
public void OnCreateDirectory(string parameter) { FileSystemProvider.CreateDirectory(parameter); }