Summary
This method will throw a
System.InvalidOperationException if the "wrong" client type is installed, to
signal that a given property on a command object can only be used from a specific client type.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
.Gui - Containing Type
- GuiCommandBase
<T>
Syntax
protected static void EnsurePropertyAvailability(string propertyName, GuiClientType requiredClientType)
Parameters
| Name | Type | Description |
|---|---|---|
| propertyName | string | The name of the property. |
| requiredClientType | GuiClientType | The required client type. |
Return Value
| Type | Description |
|---|---|
| void |