Summary
This class is used by
MercurialPreCommandHook and MercurialPostCommandHook to
hold the options to the Mercurial command.
- Assembly
- Mercurial
.Net .dll - Namespace
- Mercurial
.Hooks - Interfaces
-
- IDictionary
<TKey, TValue> - ICollection
<T> - IEnumerable
<T> - IEnumerable
- IDictionary
- Base Types
graph TD
Base0["MercurialCommandHookDataStructureBase"]-->Type
click Base0 "/Cake.Hg/api/Mercurial.Hooks/MercurialCommandHookDataStructureBase"
Base1["object"]-->Base0
Interface0["IDictionary<TKey, TValue>"]-.->Type
Interface1["ICollection<T>"]-.->Type
Interface2["IEnumerable<T>"]-.->Type
Interface3["IEnumerable"]-.->Type
Type["MercurialCommandHookDictionary"]
class Type type-node
Syntax
public sealed class MercurialCommandHookDictionary : MercurialCommandHookDataStructureBase,
IDictionary<string, object>, ICollection<KeyValuePair<string, object>>,
IEnumerable<KeyValuePair<string, object>>, IEnumerable
Attributes
| Type | Description |
|---|---|
| Default |
Constructors
| Name | Summary |
|---|---|
| Mercurial |
Initializes a new instance of the MercurialCommandHookDictionary class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| Count | int |
Gets the number of elements contained in the
MercurialCommandHookDictionary.
|
| IsReadOnly | bool |
Gets a value indicating whether the
MercurialCommandHookDictionary is read-only.
|
| Keys | ICollection |
Gets an
System.Collections.Generic.ICollection`1 containing the keys of the MercurialCommandHookDictionary.
|
| this[string] | object |
Gets or sets the element with the specified key.
|
| Values | ICollection |
Gets an
ICollection<T> containing the values in the MercurialCommandHookDictionary.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Add |
void |
Always throws
System.NotSupportedException since this MercurialCommandHookDictionary is read-only.
|
| Add |
void |
Always throws
System.NotSupportedException since this MercurialCommandHookDictionary is read-only.
|
| Clear |
void |
Always throws
System.NotSupportedException since this MercurialCommandHookDictionary is read-only.
|
| Contains |
bool |
Determines whether the
MercurialCommandHookDictionary contains a specific value.
|
| ContainsKey |
bool |
Determines whether the
MercurialCommandHookDictionary contains an element with the specified key.
|
| CopyTo |
void |
Copies the elements of the
MercurialCommandHookDictionary to
an System.Array, starting at a particular System.Array index.
|
| GetEnumerator |
IEnumerator |
Returns an enumerator that iterates through the collection.
|
| ParseValue |
object |
Parses the value at the given position and returns it.
Inherited from Mercurial
|
| Remove |
bool |
Always throws
System.NotSupportedException since this MercurialCommandHookDictionary is read-only.
|
| Remove |
bool |
Always throws
System.NotSupportedException since this MercurialCommandHookDictionary is read-only.
|
| TryGetValue |
bool |
Gets the value associated with the specified key.
|