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)
Syntax
'Declaration
Public Interface IWebMatrixHost
'Usage
Dim instance As IWebMatrixHost
public interface IWebMatrixHost
public interface class IWebMatrixHost
type IWebMatrixHost = interface end
public interface IWebMatrixHost
The IWebMatrixHost type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
DefaultWebSitePath | Gets the default path for storing web sites. |
![]() |
HostCommands | Gets an object that exposes commands supported by the host. |
![]() |
Version | Gets the user-friendly version of the host. |
![]() |
WebSite | Gets the current web site. |
![]() |
Workspace | Gets or sets the current workspace. |
![]() |
Workspaces | Gets a collection of available workspaces. |
Top
Methods
Name | Description | |
---|---|---|
![]() |
ApplyPathProtection | Applies a set of IProtectPathInfo rules to the site's files. |
![]() |
CreateWaitDialog | Creates a wait dialog. |
![]() |
GetExtensionSpecificPreferences | Provides access to a global preferences access, each extension should pass a unique GUID. |
![]() |
GetSiteItem | Gets an ISiteItem from a HierarchyId. |
![]() |
ShowDialog(String, String, DialogSize, MessageBoxButton, MessageBoxResult, ICommand()) | Indicates a value whether the command will show a dialog command. |
![]() |
ShowDialog(String, UIElement, DialogSize, MessageBoxButton, MessageBoxResult, ICommand()) | Indicates a value whether the command will show a dialog command. |
![]() |
ShowExceptionMessage | Shows a message as a result of an exception. |
![]() |
ShowFolderDialog | Opens the appropriate folder browsing dialog box, depending on the operating system version. |
![]() |
ShowNotification | Shows a notification message and an actionable link for a brief period of time. |
Top
Events
Name | Description | |
---|---|---|
![]() |
ContextMenuOpening | Occurs when the user opens a context menu for an item in the tree view. |
![]() |
TreeItemCreated | Occurs when an item is added to the file tree. |
![]() |
TreeItemRemoved | Occurs when an item is removed from the file tree. |
![]() |
WebSiteChanged | Occurs when the current web site changes. |
![]() |
WorkspaceChanged | Occurs when the current workspace changes. |
Top