Ejemplo n.º 1
0
        private object ExecuteCreateDirCommand(IDictionary <string, object> args)
        {
            FileItemPathInfo pathInfoParam = GetPathInfoParam("pathInfo", args);
            string           commandParam  = GetCommandParam("name", args);

            FileSystemProvider.CreateDirectory(pathInfoParam, commandParam);
            return(null);
        }
Ejemplo n.º 2
0
 /// <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));
 }
Ejemplo n.º 3
0
 public void OnCreateDirectory(string parameter)
 {
     FileSystemProvider.CreateDirectory(parameter);
 }