MercurialCommandHookArgumentsCollection Class

Summary

This class is used by MercurialPreCommandHook and MercurialPostCommandHook to hold the positional arguments to the Mercurial command.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Hooks
Interfaces
  • IEnumerable<T>
  • IEnumerable
Base Types
  • object
graph TD Base0["object"]-->Type Interface0["IEnumerable<T>"]-.->Type Interface1["IEnumerable"]-.->Type Type["MercurialCommandHookArgumentsCollection"] class Type type-node

Syntax

public class MercurialCommandHookArgumentsCollection : IEnumerable<string>, IEnumerable

Attributes

Type Description
DefaultMemberAttribute

Constructors

Properties

Name Value Summary
Count int
Gets the number of positional arguments to the Mercurial command.
this[int] string
Gets the positional argument to the Mercurial command by its index, 0-based.

Methods

Name Value Summary
GetEnumerator() IEnumerator<T>
Returns an enumerator that iterates through the collection.