RepeatableArgumentAttribute Class

Summary

This attribute can be applied to collection-properties in option classes, to specify the option to prefix each element in the collection with, when building the command line arguments for the Mercurial executable.
Assembly
Mercurial.Net.dll
Namespace
Mercurial.Attributes
Interfaces
  • _Attribute
Base Types
graph TD Base0["ArgumentAttribute"]-->Type click Base0 "/Cake.Hg/api/Mercurial.Attributes/ArgumentAttribute" Base1["Attribute"]-->Base0 Base2["object"]-->Base1 Interface0["_Attribute"]-.->Type Type["RepeatableArgumentAttribute"] class Type type-node

Syntax

public sealed class RepeatableArgumentAttribute : ArgumentAttribute, _Attribute

Attributes

Type Description
AttributeUsageAttribute

Constructors

Properties

Name Value Summary
Option string
Gets or sets the option prefix to use for each element in the collection.

Methods

Name Value Summary
GetOptions(object) string[]
Gets a collection of options or arguments to pass to the Mercurial executable, based on the property value from the options class.