ItemCmdletProvider Class

Definition

The base class for Cmdlet providers that expose an item as an MSH path.

public abstract class ItemCmdletProvider : System.Management.Automation.Provider.DriveCmdletProvider
Inheritance
Derived

Inherited Members

System.Management.Automation.Provider.CmdletProvider

System.Management.Automation.Provider.DriveCmdletProvider

Remarks

The ItemCmdletProvider class is a base class that a provider derives from to inherit a set of methods that allows the Monad engine to provide a core set of commands for getting and setting of data on one or more items. A provider should derive from this class if they want to take advantage of the item core commands that are already implemented by the Monad engine. This allows users to have common commands and semantics across multiple providers.

Constructors

ItemCmdletProvider()

Methods

ClearItem(String)

Clears the item specified by the path.

ClearItemDynamicParameters(String)

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

ExpandPath(String)

Expand a provider path that contains wildcards to a list of provider paths that the path represents.Only called for providers that declare the ExpandWildcards capability.

GetItem(String)

Gets the item at the specified path.

GetItemDynamicParameters(String)

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

InvokeDefaultAction(String)

Invokes the default action on the specified item.

InvokeDefaultActionDynamicParameters(String)

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

IsValidPath(String)

Providers must override this method to verify the syntax and semantics of their paths.

ItemExists(String)

Determines if an item exists at the specified path.

ItemExistsDynamicParameters(String)

Gives the provider an opportunity to attach additional parameters to the test-path cmdlet.

SetItem(String, Object)

Sets the item specified by the path.

SetItemDynamicParameters(String, Object)

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