MercurialCommandHookPatternCollection Class

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
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
DefaultMemberAttribute

Constructors

Name Summary
MercurialCommandHookPatternCollection(string) 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(object) void
Clear() void
Removes all items from the MercurialCommandHookPatternCollection.
Contains(object) bool
Determines whether the MercurialCommandHookPatternCollection contains a specific value.
CopyTo(object[], int) void
Copies the elements of the MercurialCommandHookPatternCollection to an System.Array, starting at a particular System.Array index.
GetEnumerator() IEnumerator<T>
Returns an enumerator that iterates through the collection.
IndexOf(object) int
Determines the index of a specific item in the MercurialCommandHookPatternCollection.
Insert(int, object) void
Inserts an item to the MercurialCommandHookPatternCollection at the specified index.
ParseValue(string, int) object
Parses the value at the given position and returns it.
Remove(object) bool
Removes the first occurrence of a specific object from the MercurialCommandHookPatternCollection.
RemoveAt(int) void
Removes the MercurialCommandHookPatternCollection item at the specified index.