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
-
- IList
<T> - ICollection
<T> - IEnumerable
<T> - IEnumerable
- IList
- Base Types
graph TD
Base0["MercurialCommandHookDataStructureBase"]-->Type
click Base0 "/Cake.Hg/api/Mercurial.Hooks/MercurialCommandHookDataStructureBase"
Base1["object"]-->Base0
Interface0["IList<T>"]-.->Type
Interface1["ICollection<T>"]-.->Type
Interface2["IEnumerable<T>"]-.->Type
Interface3["IEnumerable"]-.->Type
Type["MercurialCommandHookPatternCollection"]
class Type type-node
Syntax
public sealed class MercurialCommandHookPatternCollection : MercurialCommandHookDataStructureBase,
IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable
Attributes
Type | Description |
---|---|
Default |
Constructors
Name | Summary |
---|---|
Mercurial |
Initializes a new instance of the MercurialCommandHookPatternCollection class.
|
Properties
Name | Value | Summary |
---|---|---|
Count | int |
Gets the number of elements contained in the
MercurialCommandHookPatternCollection .
|
IsReadOnly | bool |
Gets a value indicating whether the
MercurialCommandHookPatternCollection is read-only.
|
this[int] | object |
Gets or sets the element at the specified index.
|
Methods
Name | Value | Summary |
---|---|---|
Add |
void |
Adds an item to the
MercurialCommandHookPatternCollection .
|
Clear |
void |
Removes all items from the
MercurialCommandHookPatternCollection .
|
Contains |
bool |
Determines whether the
MercurialCommandHookPatternCollection contains a specific value.
|
CopyTo |
void |
Copies the elements of the
MercurialCommandHookPatternCollection to an System.Array , starting at a particular System.Array index.
|
GetEnumerator |
IEnumerator |
Returns an enumerator that iterates through the collection.
|
IndexOf |
int |
Determines the index of a specific item in the
MercurialCommandHookPatternCollection .
|
Insert |
void |
Inserts an item to the
MercurialCommandHookPatternCollection at the specified index.
|
ParseValue |
object |
Parses the value at the given position and returns it.
Inherited from Mercurial
|
Remove |
bool |
Removes the first occurrence of a specific object from the
MercurialCommandHookPatternCollection .
|
RemoveAt |
void |
Removes the
MercurialCommandHookPatternCollection item at the specified index.
|