IWebMatrixHost Interface

Applies to v2.

Defines a method for interacting with the WebMatrix host.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

public interface IWebMatrixHost

The IWebMatrixHost type exposes the following members.

  NameDescription
Public propertyDefaultWebSitePathGets the default path for storing web sites.
Public propertyHostCommandsGets an object that exposes commands supported by the host.
Public propertyVersionGets the user-friendly version of the host.
Public propertyWebSiteGets the current web site.
Public propertyWorkspaceGets or sets the current workspace.
Public propertyWorkspacesGets a collection of available workspaces.
Top

  NameDescription
Public methodApplyPathProtectionApplies a set of IProtectPathInfo rules to the site's files.
Public methodCreateWaitDialogCreates a wait dialog.
Public methodGetExtensionSpecificPreferencesProvides access to a global preferences access, each extension should pass a unique GUID.
Public methodGetSiteItemGets an ISiteItem from a HierarchyId.
Public methodShowDialog(String, String, DialogSize, MessageBoxButton, MessageBoxResult, ICommand[])Indicates a value whether the command will show a dialog command.
Public methodShowDialog(String, UIElement, DialogSize, MessageBoxButton, MessageBoxResult, ICommand[])Indicates a value whether the command will show a dialog command.
Public methodShowExceptionMessageShows a message as a result of an exception.
Public methodShowFolderDialogOpens the appropriate folder browsing dialog box, depending on the operating system version.
Public methodShowNotificationShows a notification message and an actionable link for a brief period of time.
Top

  NameDescription
Public eventContextMenuOpeningOccurs when the user opens a context menu for an item in the tree view.
Public eventTreeItemCreatedOccurs when an item is added to the file tree.
Public eventTreeItemRemovedOccurs when an item is removed from the file tree.
Public eventWebSiteChangedOccurs when the current web site changes.
Public eventWorkspaceChangedOccurs when the current workspace changes.
Top
Show: