NavigationCmdletProvider Class

Definition

The base class for a Cmdlet provider that expose a hierarchy of items and containers.

public abstract class NavigationCmdletProvider : System.Management.Automation.Provider.ContainerCmdletProvider
Inheritance
Derived

Inherited Members

System.Management.Automation.Provider.CmdletProvider

System.Management.Automation.Provider.ContainerCmdletProvider

System.Management.Automation.Provider.DriveCmdletProvider

System.Management.Automation.Provider.ItemCmdletProvider

Remarks

The NavigationCmdletProvider class is a base class that provider can derive from to implement a set of methods that allow the use of a set of core commands against the data store that the provider gives access to. By implementing this interface users can take advantage the recursive commands, nested containers, and relative paths.

Constructors

NavigationCmdletProvider()

Methods

GetChildName(String)

Gets the name of the leaf element in the specified path.

GetParentPath(String, String)

Removes the child segment of a path and returns the remaining parent portion.

IsItemContainer(String)

Determines if the item specified by the path is a container.

MakePath(String, String)

Joins two strings with a path a provider specific path separator.

MakePath(String, String, Boolean)
MoveItem(String, String)

Moves the item specified by path to the specified destination.

MoveItemDynamicParameters(String, String)

Gives the provider an opportunity to attach additional parameters to the move-item cmdlet.

NormalizeRelativePath(String, String)

Normalizes the path that was passed in and returns the normalized path as a relative path to the basePath that was passed.